diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-07 21:14:39 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-12 04:18:31 +0200 |
commit | 3db291017753e539af64c8bab373785f34e43ed2 (patch) | |
tree | e6759c7dea1774465b6bf2860a0c2f283c0b34fa /fs/namespace.c | |
parent | security: remove dead hook sb_post_remount (diff) | |
download | linux-3db291017753e539af64c8bab373785f34e43ed2.tar.xz linux-3db291017753e539af64c8bab373785f34e43ed2.zip |
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.c | 2 |
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) 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; } |