Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179408
b: refs/heads/master
c: df1a1ad
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Jan 16, 2010
1 parent 4c140a9 commit 2c9f8cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8ad08d8a0c3823e9b06ef84c362c9361be323d2d
refs/heads/master: df1a1ad29739f032f8905310796e558589403d61
4 changes: 2 additions & 2 deletions trunk/fs/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1354,12 +1354,12 @@ static int attach_recursive_mnt(struct vfsmount *source_mnt,
if (err)
goto out_cleanup_ids;

spin_lock(&vfsmount_lock);

if (IS_MNT_SHARED(dest_mnt)) {
for (p = source_mnt; p; p = next_mnt(p, source_mnt))
set_mnt_shared(p);
}

spin_lock(&vfsmount_lock);
if (parent_path) {
detach_mnt(source_mnt, parent_path);
attach_mnt(source_mnt, path);
Expand Down

0 comments on commit 2c9f8cf

Please sign in to comment.