diff options
author | Chris Mason <chris.mason@oracle.com> | 2011-01-16 17:24:45 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-01-16 17:24:45 +0100 |
commit | 26c79f6ba0ccdc4bbc8ef8721406d37e9178e30b (patch) | |
tree | c5bcbf8f605afdae1a89ea2617f29052ac8c6f18 /fs/btrfs/ioctl.h | |
parent | Btrfs: fix off by one while setting block groups readonly (diff) | |
parent | Btrfs: Add BTRFS_IOC_SUBVOL_GETFLAGS/SETFLAGS ioctls (diff) | |
download | linux-26c79f6ba0ccdc4bbc8ef8721406d37e9178e30b.tar.xz linux-26c79f6ba0ccdc4bbc8ef8721406d37e9178e30b.zip |
Merge branch 'readonly-snapshots' of git://repo.or.cz/linux-btrfs-devel into btrfs-38
Diffstat (limited to 'fs/btrfs/ioctl.h')
-rw-r--r-- | fs/btrfs/ioctl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/ioctl.h b/fs/btrfs/ioctl.h index c344d12c646b..1223223351fa 100644 --- a/fs/btrfs/ioctl.h +++ b/fs/btrfs/ioctl.h @@ -31,6 +31,7 @@ struct btrfs_ioctl_vol_args { }; #define BTRFS_SUBVOL_CREATE_ASYNC (1ULL << 0) +#define BTRFS_SUBVOL_RDONLY (1ULL << 1) #define BTRFS_SUBVOL_NAME_MAX 4039 struct btrfs_ioctl_vol_args_v2 { @@ -193,4 +194,6 @@ struct btrfs_ioctl_space_args { #define BTRFS_IOC_WAIT_SYNC _IOW(BTRFS_IOCTL_MAGIC, 22, __u64) #define BTRFS_IOC_SNAP_CREATE_V2 _IOW(BTRFS_IOCTL_MAGIC, 23, \ struct btrfs_ioctl_vol_args_v2) +#define BTRFS_IOC_SUBVOL_GETFLAGS _IOW(BTRFS_IOCTL_MAGIC, 25, __u64) +#define BTRFS_IOC_SUBVOL_SETFLAGS _IOW(BTRFS_IOCTL_MAGIC, 26, __u64) #endif |