summaryrefslogtreecommitdiff
path: root/ioctl.h
diff options
context:
space:
mode:
authorYan, Zheng <zheng.yan@oracle.com>2009-09-21 16:03:57 -0400
committerChris Mason <chris.mason@oracle.com>2009-09-21 16:03:57 -0400
commit45195b216d5da399aa71c11f111b2c0b45e54c82 (patch)
tree59114111da5c1eecc96e59dae78eece6a194e800 /ioctl.h
parent4f89b6eb0718ade63152791db32794da78fbba70 (diff)
btrfsctl: add snapshot/subvolume destroy ioctl
resend Aaron Straus's patch Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'ioctl.h')
-rw-r--r--ioctl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ioctl.h b/ioctl.h
index a084f33e..4410ac02 100644
--- a/ioctl.h
+++ b/ioctl.h
@@ -56,4 +56,7 @@ struct btrfs_ioctl_vol_args {
/* 13 is for CLONE_RANGE */
#define BTRFS_IOC_SUBVOL_CREATE _IOW(BTRFS_IOCTL_MAGIC, 14, \
struct btrfs_ioctl_vol_args)
+
+#define BTRFS_IOC_SNAP_DESTROY _IOW(BTRFS_IOCTL_MAGIC, 15, \
+ struct btrfs_ioctl_vol_args)
#endif