diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-02-05 02:01:14 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-03 14:07:59 -0500 |
commit | 47cd813f2984569570021ce3d34cdf9cb20aa6a2 (patch) | |
tree | 555dd76338225e2fdbf4b8dca68d1744fd065270 | |
parent | 37afdc7960ab493f827b5df9dc1b71b63b44331c (diff) |
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>
-rw-r--r-- | fs/internal.h | 2 | ||||
-rw-r--r-- | include/linux/mount.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/fs/internal.h b/fs/internal.h index e96a1667d749..8a03a5447bdf 100644 --- a/fs/internal.h +++ b/fs/internal.h | |||
@@ -70,6 +70,8 @@ extern struct vfsmount *copy_tree(struct vfsmount *, struct dentry *, int); | |||
70 | 70 | ||
71 | extern void __init mnt_init(void); | 71 | extern void __init mnt_init(void); |
72 | 72 | ||
73 | extern spinlock_t vfsmount_lock; | ||
74 | |||
73 | /* | 75 | /* |
74 | * fs_struct.c | 76 | * fs_struct.c |
75 | */ | 77 | */ |
diff --git a/include/linux/mount.h b/include/linux/mount.h index 375d43a5d802..163896137ab5 100644 --- a/include/linux/mount.h +++ b/include/linux/mount.h | |||
@@ -132,7 +132,6 @@ extern int do_add_mount(struct vfsmount *newmnt, struct path *path, | |||
132 | 132 | ||
133 | extern void mark_mounts_for_expiry(struct list_head *mounts); | 133 | extern void mark_mounts_for_expiry(struct list_head *mounts); |
134 | 134 | ||
135 | extern spinlock_t vfsmount_lock; | ||
136 | extern dev_t name_to_dev_t(char *name); | 135 | extern dev_t name_to_dev_t(char *name); |
137 | 136 | ||
138 | #endif /* _LINUX_MOUNT_H */ | 137 | #endif /* _LINUX_MOUNT_H */ |