summaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-07 15:14:33 -0400
committerJames Morris <jmorris@namei.org>2010-04-12 12:18:30 +1000
commit82dab10453d65ad9ca551de5b8925673ca05c7e9 (patch)
tree942bf24adb67b534fa3080dbbfa1ffe33b7c16bd /fs/namespace.c
parent4b61d12c84293ac061909f27f567c1905e4d90e3 (diff)
downloadlinux-stable-82dab10453d65ad9ca551de5b8925673ca05c7e9.tar.gz
linux-stable-82dab10453d65ad9ca551de5b8925673ca05c7e9.tar.bz2
linux-stable-82dab10453d65ad9ca551de5b8925673ca05c7e9.zip
security: remove dead hook sb_post_remount
Unused hook. Remove. Signed-off-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r--fs/namespace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index 6c9ca7358aad..f87f56e348fd 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1573,8 +1573,6 @@ static int do_remount(struct path *path, int flags, int mnt_flags,
}
up_write(&sb->s_umount);
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);