Skip to content

Commit

Permalink
Take vfsmount_lock to fs/internal.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Al Viro committed Mar 3, 2010
1 parent 37afdc7 commit 47cd813
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions fs/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
1 change: 0 additions & 1 deletion include/linux/mount.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 47cd813

Please sign in to comment.