aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-07 15:14:33 -0400
committerJames Morris <jmorris@namei.org>2010-04-11 22:18:30 -0400
commit82dab10453d65ad9ca551de5b8925673ca05c7e9 (patch)
tree942bf24adb67b534fa3080dbbfa1ffe33b7c16bd /fs
parent4b61d12c84293ac061909f27f567c1905e4d90e3 (diff)
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,
1573 } 1573 }
1574 up_write(&sb->s_umount); 1574 up_write(&sb->s_umount);
1575 if (!err) { 1575 if (!err) {
1576 security_sb_post_remount(path->mnt, flags, data);
1577
1578 spin_lock(&vfsmount_lock); 1576 spin_lock(&vfsmount_lock);
1579 touch_mnt_namespace(path->mnt->mnt_ns); 1577 touch_mnt_namespace(path->mnt->mnt_ns);
1580 spin_unlock(&vfsmount_lock); 1578 spin_unlock(&vfsmount_lock);