diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-19 09:19:07 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-22 22:01:55 +0200 |
commit | 8cae6f7158ec1fa44c8a04a43db7d8020ec60437 (patch) | |
tree | 36de7d1a582d4681b4aa8261c85789ffd666134b /fs/ext4 | |
parent | btrfs: switch btrfs_ioctl_balance() to mnt_want_write_file() (diff) | |
download | linux-8cae6f7158ec1fa44c8a04a43db7d8020ec60437.tar.xz linux-8cae6f7158ec1fa44c8a04a43db7d8020ec60437.zip |
ext4: switch EXT4_IOC_RESIZE_FS to mnt_want_write_file()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r-- | fs/ext4/ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index e34deac3f366..23788b345975 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c @@ -390,7 +390,7 @@ group_add_out: if (err) return err; - err = mnt_want_write(filp->f_path.mnt); + err = mnt_want_write_file(filp); if (err) goto resizefs_out; @@ -402,7 +402,7 @@ group_add_out: } if (err == 0) err = err2; - mnt_drop_write(filp->f_path.mnt); + mnt_drop_write_file(filp); resizefs_out: ext4_resize_end(sb); return err; |