]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/btrfs/ctree.h
Btrfs: allow subvol deletion by unprivileged user with -o user_subvol_rm_allowed
[net-next-2.6.git] / fs / btrfs / ctree.h
index e5d66b13c1757f1429fe3941425c75b3280dff02..8db9234f6b418db0cc1f99afa6876f369116a1b8 100644 (file)
@@ -1234,6 +1234,7 @@ struct btrfs_root {
 #define BTRFS_MOUNT_FORCE_COMPRESS      (1 << 11)
 #define BTRFS_MOUNT_SPACE_CACHE                (1 << 12)
 #define BTRFS_MOUNT_CLEAR_CACHE                (1 << 13)
+#define BTRFS_MOUNT_USER_SUBVOL_RM_ALLOWED (1 << 14)
 
 #define btrfs_clear_opt(o, opt)                ((o) &= ~BTRFS_MOUNT_##opt)
 #define btrfs_set_opt(o, opt)          ((o) |= BTRFS_MOUNT_##opt)