mirror of https://gitee.com/openkylin/linux.git
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: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
37afdc7960
commit
47cd813f29
|
@ -70,6 +70,8 @@ extern struct vfsmount *copy_tree(struct vfsmount *, struct dentry *, int);
|
|||
|
||||
extern void __init mnt_init(void);
|
||||
|
||||
extern spinlock_t vfsmount_lock;
|
||||
|
||||
/*
|
||||
* fs_struct.c
|
||||
*/
|
||||
|
|
|
@ -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 spinlock_t vfsmount_lock;
|
||||
extern dev_t name_to_dev_t(char *name);
|
||||
|
||||
#endif /* _LINUX_MOUNT_H */
|
||||
|
|
Loading…
Reference in New Issue