projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37afdc7
)
Take vfsmount_lock to fs/internal.h
author
Al Viro
<
[email protected]
>
Fri, 5 Feb 2010 07:01:14 +0000
(
02:01
-0500)
committer
Al Viro
<
[email protected]
>
Wed, 3 Mar 2010 19:07:59 +0000
(14:07 -0500)
no more users left outside of fs/*.c (and very few outside of
fs/namespace.c, actually)
Signed-off-by: Al Viro <
[email protected]
>
fs/internal.h
patch
|
blob
|
history
include/linux/mount.h
patch
|
blob
|
history
diff --git
a/fs/internal.h
b/fs/internal.h
index e96a1667d749d5efa59b659fea5d1f0057ffb973..8a03a5447bdf392a826b088f7329c68af32f3d2e 100644
(file)
--- a/
fs/internal.h
+++ b/
fs/internal.h
@@
-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
*/
diff --git
a/include/linux/mount.h
b/include/linux/mount.h
index 375d43a5d802d0416d2b395ee95fb2c1aa516afb..163896137ab54d1277c24315cc8e8d34fcfecb4a 100644
(file)
--- 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,
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 */