summaryrefslogtreecommitdiff
path: root/ioctl.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-04-28 16:44:22 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2008-04-28 16:44:22 -0400
commitb327761ead72a42f253bb45b6b03fefdb15edec4 (patch)
tree2d536c30e3a7a2e01f3226b75bb2f431da10638d /ioctl.h
parent083faf794fd87a7897545a2a16a15599f62beffb (diff)
Add btrfs-vol command to balance, add and (eventually) remove devices
Diffstat (limited to 'ioctl.h')
-rw-r--r--ioctl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ioctl.h b/ioctl.h
index 4551e820..8ad35fc4 100644
--- a/ioctl.h
+++ b/ioctl.h
@@ -36,4 +36,10 @@ struct btrfs_ioctl_vol_args {
struct btrfs_ioctl_vol_args)
#define BTRFS_IOC_SCAN_DEV _IOW(BTRFS_IOCTL_MAGIC, 4, \
struct btrfs_ioctl_vol_args)
+#define BTRFS_IOC_ADD_DEV _IOW(BTRFS_IOCTL_MAGIC, 10, \
+ struct btrfs_ioctl_vol_args)
+#define BTRFS_IOC_RM_DEV _IOW(BTRFS_IOCTL_MAGIC, 11, \
+ struct btrfs_ioctl_vol_args)
+#define BTRFS_IOC_BALANCE _IOW(BTRFS_IOCTL_MAGIC, 12, \
+ struct btrfs_ioctl_vol_args)
#endif