summaryrefslogtreecommitdiff
path: root/fs/pnode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-24 21:07:43 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:57:02 -0500
commit761d5c38eb3d8e2aa7394726dccab245bfe2f41c (patch)
tree3fea2388dc65e41a2bfdd987e61984b5af47c98a /fs/pnode.c
parent1b8e5564b9d34cbeb3047dd2be8ec9cd5e2785e2 (diff)
downloadlwn-761d5c38eb3d8e2aa7394726dccab245bfe2f41c.tar.gz
lwn-761d5c38eb3d8e2aa7394726dccab245bfe2f41c.zip
vfs: spread struct mount - umount_tree argument
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/pnode.c')
-rw-r--r--fs/pnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/pnode.c b/fs/pnode.c
index a2f0f3e0e127..efbe0c0d3f0d 100644
--- a/fs/pnode.c
+++ b/fs/pnode.c
@@ -262,7 +262,7 @@ out:
br_write_lock(vfsmount_lock);
while (!list_empty(&tmp_list)) {
child = list_first_entry(&tmp_list, struct mount, mnt_hash);
- umount_tree(&child->mnt, 0, &umount_list);
+ umount_tree(child, 0, &umount_list);
}
br_write_unlock(vfsmount_lock);
release_mounts(&umount_list);