|
@@ -4525,7 +4525,7 @@ static int btrfs_ioctl_set_fslabel(struct file *file, void __user *arg)
|
|
|
spin_lock(&root->fs_info->super_lock);
|
|
|
strcpy(super_block->label, label);
|
|
|
spin_unlock(&root->fs_info->super_lock);
|
|
|
- ret = btrfs_end_transaction(trans, root);
|
|
|
+ ret = btrfs_commit_transaction(trans, root);
|
|
|
|
|
|
out_unlock:
|
|
|
mnt_drop_write_file(file);
|
|
@@ -4668,7 +4668,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);
|
|
|
|
|
@@ -4689,7 +4689,7 @@ static int btrfs_ioctl_set_features(struct file *file, void __user *arg)
|
|
|
btrfs_set_super_incompat_flags(super_block, newflags);
|
|
|
spin_unlock(&root->fs_info->super_lock);
|
|
|
|
|
|
- return btrfs_end_transaction(trans, root);
|
|
|
+ return btrfs_commit_transaction(trans, root);
|
|
|
}
|
|
|
|
|
|
long btrfs_ioctl(struct file *file, unsigned int
|