Skip to content

Commit 8051aa1

Browse files
kdavemasoncl
authored andcommitted
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 <[email protected]> Signed-off-by: Chris Mason <[email protected]>
1 parent d0270ac commit 8051aa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/btrfs/ioctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4690,7 +4690,7 @@ static int btrfs_ioctl_set_features(struct file *file, void __user *arg)
46904690
if (ret)
46914691
return ret;
46924692

4693-
trans = btrfs_start_transaction(root, 1);
4693+
trans = btrfs_start_transaction(root, 0);
46944694
if (IS_ERR(trans))
46954695
return PTR_ERR(trans);
46964696

0 commit comments

Comments
 (0)