diff options
Diffstat (limited to 'fs/pnode.c')
-rw-r--r-- | fs/pnode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/pnode.c b/fs/pnode.c index ab5fa9e1a79a..bed378db0758 100644 --- a/fs/pnode.c +++ b/fs/pnode.c | |||
@@ -257,12 +257,12 @@ int propagate_mnt(struct mount *dest_mnt, struct dentry *dest_dentry, | |||
257 | prev_src_mnt = child; | 257 | prev_src_mnt = child; |
258 | } | 258 | } |
259 | out: | 259 | out: |
260 | br_write_lock(vfsmount_lock); | 260 | br_write_lock(&vfsmount_lock); |
261 | while (!list_empty(&tmp_list)) { | 261 | while (!list_empty(&tmp_list)) { |
262 | child = list_first_entry(&tmp_list, struct mount, mnt_hash); | 262 | child = list_first_entry(&tmp_list, struct mount, mnt_hash); |
263 | umount_tree(child, 0, &umount_list); | 263 | umount_tree(child, 0, &umount_list); |
264 | } | 264 | } |
265 | br_write_unlock(vfsmount_lock); | 265 | br_write_unlock(&vfsmount_lock); |
266 | release_mounts(&umount_list); | 266 | release_mounts(&umount_list); |
267 | return ret; | 267 | return ret; |
268 | } | 268 | } |