From: Al Viro Date: Thu, 19 Jul 2012 07:19:07 +0000 (+0400) Subject: ext4: switch EXT4_IOC_RESIZE_FS to mnt_want_write_file() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8cae6f7158ec1fa44c8a04a43db7d8020ec60437;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git ext4: switch EXT4_IOC_RESIZE_FS to mnt_want_write_file() Signed-off-by: Al Viro --- diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index e34deac3f36..23788b34597 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;