summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-07 23:14:33 +0400
committerJames Morris <jmorris@namei.org>2010-04-12 06:18:30 +0400
commit82dab10453d65ad9ca551de5b8925673ca05c7e9 (patch)
tree942bf24adb67b534fa3080dbbfa1ffe33b7c16bd /fs
parent4b61d12c84293ac061909f27f567c1905e4d90e3 (diff)
downloadlinux-82dab10453d65ad9ca551de5b8925673ca05c7e9.tar.xz
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')
-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);