diff options
-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; |