Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179409
b: refs/heads/master
c: 7b43a79
h: refs/heads/master
i:
  179407: 4c140a9
v: v3
  • Loading branch information
Al Viro committed Jan 16, 2010
1 parent 2c9f8cf commit 2db4744
Show file tree
Hide file tree
Showing 2 changed files with 6 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: df1a1ad29739f032f8905310796e558589403d61
refs/heads/master: 7b43a79f32c0a05e7562043af98e25c05c89b18e
6 changes: 5 additions & 1 deletion trunk/fs/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1536,8 +1536,12 @@ static int do_remount(struct path *path, int flags, int mnt_flags,
err = change_mount_flags(path->mnt, flags);
else
err = do_remount_sb(sb, flags, data, 0);
if (!err)
if (!err) {
spin_lock(&vfsmount_lock);
mnt_flags |= path->mnt->mnt_flags & MNT_PNODE_MASK;
path->mnt->mnt_flags = mnt_flags;
spin_unlock(&vfsmount_lock);
}
up_write(&sb->s_umount);
if (!err) {
security_sb_post_remount(path->mnt, flags, data);
Expand Down

0 comments on commit 2db4744

Please sign in to comment.