Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179411
b: refs/heads/master
c: 27d55f1
h: refs/heads/master
i:
  179409: 2db4744
  179407: 4c140a9
v: v3
  • Loading branch information
Al Viro committed Jan 16, 2010
1 parent 2ae847c commit fb68f08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7e1295d9f8300e8c8d1af01765f475621c19ee1d
refs/heads/master: 27d55f1f4c190b14092fcca3069c7d15df83514f
2 changes: 2 additions & 0 deletions trunk/fs/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1671,6 +1671,8 @@ int do_add_mount(struct vfsmount *newmnt, struct path *path,
{
int err;

mnt_flags &= ~(MNT_SHARED | MNT_WRITE_HOLD);

down_write(&namespace_sem);
/* Something was mounted here while we slept */
while (d_mountpoint(path->dentry) &&
Expand Down

0 comments on commit fb68f08

Please sign in to comment.