aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-03-22 00:46:23 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-03-27 20:47:58 -0400
commitc35038becad0adb0e25261fff66d85b1a6ddd0c2 (patch)
tree1d375d74ef5b4c3641768697b2ff8f4992916dc5 /include/linux
parentbcc5c7d2b692e5319db00b0dd020ce98723103b1 (diff)
[PATCH] do shrink_submounts() for all fs types
... and take it out of ->umount_begin() instances. Call with all locks already taken (by do_umount()) and leave calling release_mounts() to caller (it will do release_mounts() anyway, so we can just put into the same list). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mount.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mount.h b/include/linux/mount.h
index dac5e67ff3ee..5ee2df217cdf 100644
--- a/include/linux/mount.h
+++ b/include/linux/mount.h
@@ -99,7 +99,6 @@ extern int do_add_mount(struct vfsmount *newmnt, struct nameidata *nd,
99 int mnt_flags, struct list_head *fslist); 99 int mnt_flags, struct list_head *fslist);
100 100
101extern void mark_mounts_for_expiry(struct list_head *mounts); 101extern void mark_mounts_for_expiry(struct list_head *mounts);
102extern void shrink_submounts(struct vfsmount *mountpoint, struct list_head *mounts);
103 102
104extern spinlock_t vfsmount_lock; 103extern spinlock_t vfsmount_lock;
105extern dev_t name_to_dev_t(char *name); 104extern dev_t name_to_dev_t(char *name);