aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-07 15:14:39 -0400
committerJames Morris <jmorris@namei.org>2010-04-11 22:18:31 -0400
commit3db291017753e539af64c8bab373785f34e43ed2 (patch)
treee6759c7dea1774465b6bf2860a0c2f283c0b34fa /fs
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')
-rw-r--r--fs/namespace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index f87f56e348fd..7a0c9ce62bed 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1436,8 +1436,6 @@ static int graft_tree(struct vfsmount *mnt, struct path *path)
1436 err = attach_recursive_mnt(mnt, path, NULL); 1436 err = attach_recursive_mnt(mnt, path, NULL);
1437out_unlock: 1437out_unlock:
1438 mutex_unlock(&path->dentry->d_inode->i_mutex); 1438 mutex_unlock(&path->dentry->d_inode->i_mutex);
1439 if (!err)
1440 security_sb_post_addmount(mnt, path);
1441 return err; 1439 return err;
1442} 1440}
1443 1441