Commit 47cd813f authored by Al Viro's avatar Al Viro

Take vfsmount_lock to fs/internal.h

no more users left outside of fs/*.c (and very few outside of
fs/namespace.c, actually)
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 37afdc79
...@@ -70,6 +70,8 @@ extern struct vfsmount *copy_tree(struct vfsmount *, struct dentry *, int); ...@@ -70,6 +70,8 @@ extern struct vfsmount *copy_tree(struct vfsmount *, struct dentry *, int);
extern void __init mnt_init(void); extern void __init mnt_init(void);
extern spinlock_t vfsmount_lock;
/* /*
* fs_struct.c * fs_struct.c
*/ */
......
...@@ -132,7 +132,6 @@ extern int do_add_mount(struct vfsmount *newmnt, struct path *path, ...@@ -132,7 +132,6 @@ extern int do_add_mount(struct vfsmount *newmnt, struct path *path,
extern void mark_mounts_for_expiry(struct list_head *mounts); extern void mark_mounts_for_expiry(struct list_head *mounts);
extern spinlock_t vfsmount_lock;
extern dev_t name_to_dev_t(char *name); extern dev_t name_to_dev_t(char *name);
#endif /* _LINUX_MOUNT_H */ #endif /* _LINUX_MOUNT_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment