summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-02-07 14:34:04 +0100
committerChris Mason <clm@fb.com>2014-02-08 17:57:15 -0800
commit8051aa1a3d5aaa7bd4c062cad94d09c3d567ef2e (patch)
treeb5f94a4d103ec5fdb48feebf7ede0053bad8ec4d /fs/btrfs
parentd0270aca88966641eb15306e9bd0c7ad15321440 (diff)
downloadop-kernel-dev-8051aa1a3d5aaa7bd4c062cad94d09c3d567ef2e.zip
op-kernel-dev-8051aa1a3d5aaa7bd4c062cad94d09c3d567ef2e.tar.gz
btrfs: reserve no transaction units in btrfs_ioctl_set_features
Added in patch "btrfs: add ioctls to query/change feature bits online" modifications to superblock don't need to reserve metadata blocks when starting a transaction. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 5bbf6b7..ebdd866 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -4690,7 +4690,7 @@ static int btrfs_ioctl_set_features(struct file *file, void __user *arg)
if (ret)
return ret;
- trans = btrfs_start_transaction(root, 1);
+ trans = btrfs_start_transaction(root, 0);
if (IS_ERR(trans))
return PTR_ERR(trans);
OpenPOWER on IntegriCloud