Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117484
b: refs/heads/master
c: 0e55a7c
h: refs/heads/master
v: v3
  • Loading branch information
Dan Williams authored and Al Viro committed Oct 23, 2008
1 parent b894191 commit a8f3bd7
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 91efc167d02509ea78abeff6d668065964c67c0b
refs/heads/master: 0e55a7cca4b66f625d67b292f80b6a976e77c51b
7 changes: 6 additions & 1 deletion trunk/fs/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1550,8 +1550,13 @@ static int do_remount(struct path *path, int flags, int mnt_flags,
if (!err)
path->mnt->mnt_flags = mnt_flags;
up_write(&sb->s_umount);
if (!err)
if (!err) {
security_sb_post_remount(path->mnt, flags, data);

spin_lock(&vfsmount_lock);
touch_mnt_namespace(path->mnt->mnt_ns);
spin_unlock(&vfsmount_lock);
}
return err;
}

Expand Down

0 comments on commit a8f3bd7

Please sign in to comment.