diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-03-22 05:46:23 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-03-28 01:47:58 +0100 |
commit | c35038becad0adb0e25261fff66d85b1a6ddd0c2 (patch) | |
tree | 1d375d74ef5b4c3641768697b2ff8f4992916dc5 /fs/nfs/super.c | |
parent | [PATCH] sanitize locking in mark_mounts_for_expiry() and shrink_submounts() (diff) | |
download | linux-c35038becad0adb0e25261fff66d85b1a6ddd0c2.tar.xz linux-c35038becad0adb0e25261fff66d85b1a6ddd0c2.zip |
[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 'fs/nfs/super.c')
-rw-r--r-- | fs/nfs/super.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index dd4dfcd632ec..f9219024f31a 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -589,8 +589,6 @@ static void nfs_umount_begin(struct vfsmount *vfsmnt, int flags) struct nfs_server *server = NFS_SB(vfsmnt->mnt_sb); struct rpc_clnt *rpc; - shrink_submounts(vfsmnt, &nfs_automount_list); - if (!(flags & MNT_FORCE)) return; /* -EIO all pending I/O */ |