Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147813
b: refs/heads/master
c: dd5cae6
h: refs/heads/master
i:
  147811: dd3f01c
v: v3
  • Loading branch information
Al Viro committed Jun 12, 2009
1 parent 3354616 commit 2763c4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 5b857119538daac7118c1364d7ff3613f12b84d3
refs/heads/master: dd5cae6e9772ecc62fd374f7a8ec10eb51c96c4d
2 changes: 1 addition & 1 deletion trunk/fs/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1698,7 +1698,7 @@ int do_add_mount(struct vfsmount *newmnt, struct path *path,
follow_down(&path->mnt, &path->dentry))
;
err = -EINVAL;
if (!check_mnt(path->mnt))
if (!(mnt_flags & MNT_SHRINKABLE) && !check_mnt(path->mnt))
goto unlock;

/* Refuse the same filesystem on the same mount point */
Expand Down

0 comments on commit 2763c4a

Please sign in to comment.