diff options
author | Yan, Zheng <zheng.yan@oracle.com> | 2009-09-21 16:03:57 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-09-21 16:03:57 -0400 |
commit | 45195b216d5da399aa71c11f111b2c0b45e54c82 (patch) | |
tree | 59114111da5c1eecc96e59dae78eece6a194e800 /ioctl.h | |
parent | 4f89b6eb0718ade63152791db32794da78fbba70 (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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |