[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>
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user