aboutsummaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-09-29 11:24:49 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-10-24 23:34:59 -0400
commit719ea2fbb553ab3f61a174a4b5861289dcc46cb1 (patch)
tree00c1e2c71caf2338cfe27f2854cf331515b4f411 /fs/internal.h
parentdon't bother with vfsmount_lock in mounts_poll() (diff)
downloadlinux-dev-719ea2fbb553ab3f61a174a4b5861289dcc46cb1.tar.xz
linux-dev-719ea2fbb553ab3f61a174a4b5861289dcc46cb1.zip
new helpers: lock_mount_hash/unlock_mount_hash
aka br_write_{lock,unlock} of vfsmount_lock. Inlines in fs/mount.h, vfsmount_lock extern moved over there as well. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/internal.h b/fs/internal.h
index 513e0d859a6c..4a11e75ce14d 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -9,8 +9,6 @@
* 2 of the License, or (at your option) any later version.
*/
-#include <linux/lglock.h>
-
struct super_block;
struct file_system_type;
struct linux_binprm;
@@ -62,8 +60,6 @@ extern int sb_prepare_remount_readonly(struct super_block *);
extern void __init mnt_init(void);
-extern struct lglock vfsmount_lock;
-
extern int __mnt_want_write(struct vfsmount *);
extern int __mnt_want_write_file(struct file *);
extern void __mnt_drop_write(struct vfsmount *);