[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:
@ -33,7 +33,6 @@ void dfs_shrink_umount_helper(struct vfsmount *vfsmnt)
|
||||
{
|
||||
mark_mounts_for_expiry(&cifs_dfs_automount_list);
|
||||
mark_mounts_for_expiry(&cifs_dfs_automount_list);
|
||||
shrink_submounts(vfsmnt, &cifs_dfs_automount_list);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user