diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 34772cbcc7aa..5bbf6b7216c3 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -4547,7 +4547,7 @@ static int btrfs_ioctl_set_fslabel(struct file *file, void __user *arg) | |||
4547 | spin_lock(&root->fs_info->super_lock); | 4547 | spin_lock(&root->fs_info->super_lock); |
4548 | strcpy(super_block->label, label); | 4548 | strcpy(super_block->label, label); |
4549 | spin_unlock(&root->fs_info->super_lock); | 4549 | spin_unlock(&root->fs_info->super_lock); |
4550 | ret = btrfs_end_transaction(trans, root); | 4550 | ret = btrfs_commit_transaction(trans, root); |
4551 | 4551 | ||
4552 | out_unlock: | 4552 | out_unlock: |
4553 | mnt_drop_write_file(file); | 4553 | mnt_drop_write_file(file); |
@@ -4711,7 +4711,7 @@ static int btrfs_ioctl_set_features(struct file *file, void __user *arg) | |||
4711 | btrfs_set_super_incompat_flags(super_block, newflags); | 4711 | btrfs_set_super_incompat_flags(super_block, newflags); |
4712 | spin_unlock(&root->fs_info->super_lock); | 4712 | spin_unlock(&root->fs_info->super_lock); |
4713 | 4713 | ||
4714 | return btrfs_end_transaction(trans, root); | 4714 | return btrfs_commit_transaction(trans, root); |
4715 | } | 4715 | } |
4716 | 4716 | ||
4717 | long btrfs_ioctl(struct file *file, unsigned int | 4717 | long btrfs_ioctl(struct file *file, unsigned int |