typedef struct splitflags {
/* do not split, but return the config that would be split off */
- int dryrun : 1;
+ unsigned int dryrun : 1;
/* after splitting, import the pool */
- int import : 1;
+ unsigned int import : 1;
int name_flags;
} splitflags_t;
typedef struct renameflags {
/* recursive rename */
- int recursive : 1;
+ unsigned int recursive : 1;
/* don't unmount file systems */
- int nounmount : 1;
+ unsigned int nounmount : 1;
/* force unmount file systems */
- int forceunmount : 1;
+ unsigned int forceunmount : 1;
} renameflags_t;
_LIBZFS_H int zfs_rename(zfs_handle_t *, const char *, renameflags_t);
static boolean_t zpool_vdev_is_interior(const char *name);
typedef struct prop_flags {
- int create:1; /* Validate property on creation */
- int import:1; /* Validate property on import */
- int vdevprop:1; /* Validate property as a VDEV property */
+ unsigned int create:1; /* Validate property on creation */
+ unsigned int import:1; /* Validate property on import */
+ unsigned int vdevprop:1; /* Validate property as a VDEV property */
} prop_flags_t;
/*