author: Al Viro <viro@zeniv.linux.org.uk> 2013-09-29 11:24:49 -0400
committer: Al Viro <viro@zeniv.linux.org.uk> 2013-10-24 23:34:59 -0400
commit: 719ea2fbb553ab3f61a174a4b5861289dcc46cb1
parent: aab407fc5c0ce63e9fd4a34a790d7290d3e116a1
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/fs/pnode.c b/fs/pnode.c
index 3cfd48cf887e..58933fd149ad 100644
--- a/fs/pnode.c
+++ b/fs/pnode.c
@@ -264,12 +264,12 @@ int propagate_mnt(struct mount *dest_mnt, struct mountpoint *dest_mp,
prev_src_mnt = child;
}
out:
- br_write_lock(&vfsmount_lock);
+ lock_mount_hash();
while (!list_empty(&tmp_list)) {
child = list_first_entry(&tmp_list, struct mount, mnt_hash);
umount_tree(child, 0);
}
- br_write_unlock(&vfsmount_lock);
+ unlock_mount_hash();
return ret;
}