Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179407
b: refs/heads/master
c: 8ad08d8
h: refs/heads/master
i:
  179405: 644b42c
  179403: d64970c
  179399: 2aa6c1a
  179391: 43a1d6f
v: v3
  • Loading branch information
Al Viro committed Jan 16, 2010
1 parent 8d66ab1 commit 4c140a9
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: 9b6e31021122babe3b3a67b102479f740928b5eb
refs/heads/master: 8ad08d8a0c3823e9b06ef84c362c9361be323d2d
2 changes: 2 additions & 0 deletions trunk/fs/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -965,10 +965,12 @@ EXPORT_SYMBOL(may_umount_tree);
int may_umount(struct vfsmount *mnt)
{
int ret = 1;
down_read(&namespace_sem);
spin_lock(&vfsmount_lock);
if (propagate_mount_busy(mnt, 2))
ret = 0;
spin_unlock(&vfsmount_lock);
up_read(&namespace_sem);
return ret;
}

Expand Down

0 comments on commit 4c140a9

Please sign in to comment.