From 6d47224faa60f9b22ff605ccbf370920f38e286f Mon Sep 17 00:00:00 2001 From: Al Viro Date: Thu, 19 Jul 2012 11:19:07 +0400 Subject: [PATCH] --- yaml --- r: 312988 b: refs/heads/master c: 8cae6f7158ec1fa44c8a04a43db7d8020ec60437 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ext4/ioctl.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 6898b7897e80..59f2ec9e0cf7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 11e62a8fabd003352e852e74e1b64a437fd908c6 +refs/heads/master: 8cae6f7158ec1fa44c8a04a43db7d8020ec60437 diff --git a/trunk/fs/ext4/ioctl.c b/trunk/fs/ext4/ioctl.c index e34deac3f366..23788b345975 100644 --- a/trunk/fs/ext4/ioctl.c +++ b/trunk/fs/ext4/ioctl.c @@ -390,7 +390,7 @@ long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) 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 @@ long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) } 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;