summaryrefslogtreecommitdiff
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-07 15:14:39 -0400
committerJames Morris <jmorris@namei.org>2010-04-12 12:18:31 +1000
commit3db291017753e539af64c8bab373785f34e43ed2 (patch)
treee6759c7dea1774465b6bf2860a0c2f283c0b34fa /fs/namespace.c
parent82dab10453d65ad9ca551de5b8925673ca05c7e9 (diff)
security: remove dead hook sb_post_addmount
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 f87f56e348f..7a0c9ce62be 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1436,8 +1436,6 @@ static int graft_tree(struct vfsmount *mnt, struct path *path)
err = attach_recursive_mnt(mnt, path, NULL);
out_unlock:
mutex_unlock(&path->dentry->d_inode->i_mutex);
- if (!err)
- security_sb_post_addmount(mnt, path);
return err;
}