summaryrefslogtreecommitdiff
path: root/ioctl.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-12-21 16:25:35 -0500
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-12-21 16:25:35 -0500
commit7e03dadf20f7f2f3bfac9e83cf71d4ecce60782e (patch)
tree5979d9360d24da0910370060dc98adda9b6e07f4 /ioctl.h
parentc4603e35d7ce22de3b73315795843bf64d5c60e4 (diff)
Add online resizing ioctls
btrfsctl -r size mount_point
Diffstat (limited to 'ioctl.h')
-rw-r--r--ioctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ioctl.h b/ioctl.h
index 8bc47dec..8c629066 100644
--- a/ioctl.h
+++ b/ioctl.h
@@ -30,4 +30,6 @@ struct btrfs_ioctl_vol_args {
struct btrfs_ioctl_vol_args)
#define BTRFS_IOC_DEFRAG _IOW(BTRFS_IOCTL_MAGIC, 2, \
struct btrfs_ioctl_vol_args)
+#define BTRFS_IOC_RESIZE _IOW(BTRFS_IOCTL_MAGIC, 3, \
+ struct btrfs_ioctl_vol_args)
#endif