projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11e62a8
)
ext4: switch EXT4_IOC_RESIZE_FS to mnt_want_write_file()
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 19 Jul 2012 07:19:07 +0000
(11:19 +0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 22 Jul 2012 20:01:55 +0000
(
00:01
+0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ext4/ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/ioctl.c
b/fs/ext4/ioctl.c
index e34deac3f3663ee3fdaf7d19b44acf5eab45d6ca..23788b345975c7987236c562326c4d7e287ce973 100644
(file)
--- 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;