From a8f3bd7558cc41607cb3695c5c8c1167dc23913c Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 26 Sep 2008 19:01:20 -0700 Subject: [PATCH] --- yaml --- r: 117484 b: refs/heads/master c: 0e55a7cca4b66f625d67b292f80b6a976e77c51b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/namespace.c | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 47b2bbdaacd3..ed62d6301819 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 91efc167d02509ea78abeff6d668065964c67c0b +refs/heads/master: 0e55a7cca4b66f625d67b292f80b6a976e77c51b diff --git a/trunk/fs/namespace.c b/trunk/fs/namespace.c index f527a0d6c64d..cce46702d33c 100644 --- a/trunk/fs/namespace.c +++ b/trunk/fs/namespace.c @@ -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; }