diff options
author | David Sterba <dsterba@suse.cz> | 2014-02-07 14:34:04 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-02-08 17:57:15 -0800 |
commit | 8051aa1a3d5aaa7bd4c062cad94d09c3d567ef2e (patch) | |
tree | b5f94a4d103ec5fdb48feebf7ede0053bad8ec4d /fs | |
parent | d0270aca88966641eb15306e9bd0c7ad15321440 (diff) | |
download | linux-8051aa1a3d5aaa7bd4c062cad94d09c3d567ef2e.tar.bz2 |
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')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
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) if (ret) return ret; - trans = btrfs_start_transaction(root, 1); + trans = btrfs_start_transaction(root, 0); if (IS_ERR(trans)) return PTR_ERR(trans); |