aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hfsplus
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-12-09 08:06:57 -0500
committerZiyan <jaraidaniel@gmail.com>2015-05-02 14:34:32 +0200
commitf746abae884f29934ec3fae9cb7f68ae76699779 (patch)
tree16105abdff9084d33c67ab3ebac958e8b5cb25d7 /fs/hfsplus
parentd509b28e2e1618fbd3e1089615d700d0925250d8 (diff)
downloadkernel_samsung_tuna-f746abae884f29934ec3fae9cb7f68ae76699779.zip
kernel_samsung_tuna-f746abae884f29934ec3fae9cb7f68ae76699779.tar.gz
kernel_samsung_tuna-f746abae884f29934ec3fae9cb7f68ae76699779.tar.bz2
vfs: mnt_drop_write_file()
new helper (wrapper around mnt_drop_write()) to be used in pair with mnt_want_write_file(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Conflicts: fs/ext4/ioctl.c fs/xfs/xfs_ioctl.c Change-Id: Idcde3c3eba747966dcfc692f1a2f473cbfdf050a
Diffstat (limited to 'fs/hfsplus')
-rw-r--r--fs/hfsplus/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfsplus/ioctl.c b/fs/hfsplus/ioctl.c
index 31d3fe5..f66c765 100644
--- a/fs/hfsplus/ioctl.c
+++ b/fs/hfsplus/ioctl.c
@@ -94,7 +94,7 @@ static int hfsplus_ioctl_setflags(struct file *file, int __user *user_flags)
out_unlock_inode:
mutex_unlock(&inode->i_mutex);
out_drop_write:
- mnt_drop_write(file->f_path.mnt);
+ mnt_drop_write_file(file);
out:
return err;
}