Displaying 1 result from an estimated 1 matches for "btrfs_ioctl_subvol_modify".
Did you mean:
btrfs_ioc_subvol_modify
2014 Apr 23
0
[PATCH 001/001] btrfs: Mechanism to modify the permission of a subvolume
...---"
diff -rup linux-3.13.6/fs/btrfs/ioctl.c linux-3.13.6_btrfs/fs/btrfs/ioctl.c
--- linux-3.13.6/fs/btrfs/ioctl.c 2014-03-07 11:37:02.000000000 +0530
+++ linux-3.13.6_btrfs/fs/btrfs/ioctl.c 2014-03-19 14:25:28.375139699 +0530
@@ -1636,6 +1636,68 @@ out:
return ret;
}
+static noinline int btrfs_ioctl_subvol_modify(struct file *file,
+ void __user *arg)
+{
+ struct btrfs_ioctl_vol_args_v2 *vol_args;
+ struct inode *inode = file_inode(file);
+ struct btrfs_root *root = BTRFS_I(inode)->root;
+ struct btrfs_trans_handle *trans;
+ u64 root_flags;
+ u64 flags;
+ int ret = 0;
+
+ ret = mnt_want_write_file(f...