aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-02-07 08:34:04 -0500
committerChris Mason <clm@fb.com>2014-02-08 20:57:15 -0500
commit8051aa1a3d5aaa7bd4c062cad94d09c3d567ef2e (patch)
treeb5f94a4d103ec5fdb48feebf7ede0053bad8ec4d
parentd0270aca88966641eb15306e9bd0c7ad15321440 (diff)
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>
-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 5bbf6b7216c3..ebdd866d4cfd 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)
4690 if (ret) 4690 if (ret)
4691 return ret; 4691 return ret;
4692 4692
4693 trans = btrfs_start_transaction(root, 1); 4693 trans = btrfs_start_transaction(root, 0);
4694 if (IS_ERR(trans)) 4694 if (IS_ERR(trans))
4695 return PTR_ERR(trans); 4695 return PTR_ERR(trans);
4696 4696