diff options
author | David Sterba <dsterba@suse.cz> | 2014-02-07 14:34:04 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-02-09 02:57:15 +0100 |
commit | 8051aa1a3d5aaa7bd4c062cad94d09c3d567ef2e (patch) | |
tree | b5f94a4d103ec5fdb48feebf7ede0053bad8ec4d /fs/btrfs | |
parent | btrfs: commit transaction after setting label and features (diff) | |
download | linux-8051aa1a3d5aaa7bd4c062cad94d09c3d567ef2e.tar.xz linux-8051aa1a3d5aaa7bd4c062cad94d09c3d567ef2e.zip |
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 '')
-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); |