projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d71db4
)
f2fs: use mnt_want_write_file() in ioctl
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 20 Mar 2013 13:33:23 +0000
(09:33 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 18:12:56 +0000
(14:12 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/f2fs/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/file.c
b/fs/f2fs/file.c
index 958a46da19ae2fbae17f6a7bf25475cd061f8ad3..db626282d424e49fff3669a57f1d29dee1b08407 100644
(file)
--- a/
fs/f2fs/file.c
+++ b/
fs/f2fs/file.c
@@
-590,7
+590,7
@@
long f2fs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
{
unsigned int oldflags;
- ret = mnt_want_write
(filp->f_path.mnt
);
+ ret = mnt_want_write
_file(filp
);
if (ret)
return ret;
@@
-627,7
+627,7
@@
long f2fs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
inode->i_ctime = CURRENT_TIME;
mark_inode_dirty(inode);
out:
- mnt_drop_write
(filp->f_path.mnt
);
+ mnt_drop_write
_file(filp
);
return ret;
}
default: