Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312987
b: refs/heads/master
c: 11e62a8
h: refs/heads/master
i:
  312985: af3c429
  312983: 5406675
v: v3
  • Loading branch information
Al Viro committed Jul 22, 2012
1 parent 06a5ef7 commit b908e21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 765927b2d508712d320c8934db963bbe14c3fcec
refs/heads/master: 11e62a8fabd003352e852e74e1b64a437fd908c6
4 changes: 2 additions & 2 deletions trunk/fs/btrfs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3268,7 +3268,7 @@ static long btrfs_ioctl_balance(struct file *file, void __user *arg)
if (fs_info->sb->s_flags & MS_RDONLY)
return -EROFS;

ret = mnt_want_write(file->f_path.mnt);
ret = mnt_want_write_file(file);
if (ret)
return ret;

Expand Down Expand Up @@ -3338,7 +3338,7 @@ static long btrfs_ioctl_balance(struct file *file, void __user *arg)
out:
mutex_unlock(&fs_info->balance_mutex);
mutex_unlock(&fs_info->volume_mutex);
mnt_drop_write(file->f_path.mnt);
mnt_drop_write_file(file);
return ret;
}

Expand Down

0 comments on commit b908e21

Please sign in to comment.