1
0
Fork 0

ext4: switch EXT4_IOC_RESIZE_FS to mnt_want_write_file()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
wifi-calibration
Al Viro 2012-07-19 11:19:07 +04:00
parent 11e62a8fab
commit 8cae6f7158
1 changed files with 2 additions and 2 deletions

View File

@ -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;