diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-19 03:19:07 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-22 16:01:55 -0400 |
commit | 8cae6f7158ec1fa44c8a04a43db7d8020ec60437 (patch) | |
tree | 36de7d1a582d4681b4aa8261c85789ffd666134b /fs/ext4/ioctl.c | |
parent | 11e62a8fabd003352e852e74e1b64a437fd908c6 (diff) |
ext4: switch EXT4_IOC_RESIZE_FS to mnt_want_write_file()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext4/ioctl.c')
-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: | |||
390 | if (err) | 390 | if (err) |
391 | return err; | 391 | return err; |
392 | 392 | ||
393 | err = mnt_want_write(filp->f_path.mnt); | 393 | err = mnt_want_write_file(filp); |
394 | if (err) | 394 | if (err) |
395 | goto resizefs_out; | 395 | goto resizefs_out; |
396 | 396 | ||
@@ -402,7 +402,7 @@ group_add_out: | |||
402 | } | 402 | } |
403 | if (err == 0) | 403 | if (err == 0) |
404 | err = err2; | 404 | err = err2; |
405 | mnt_drop_write(filp->f_path.mnt); | 405 | mnt_drop_write_file(filp); |
406 | resizefs_out: | 406 | resizefs_out: |
407 | ext4_resize_end(sb); | 407 | ext4_resize_end(sb); |
408 | return err; | 408 | return err; |