aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-07 15:14:15 -0400
committerJames Morris <jmorris@namei.org>2010-04-11 22:18:28 -0400
commit353633100d8d684ac0acae4ce93fb833f92881f4 (patch)
treed45effdd09f5ef2f2c44bbcfcca8751cc5cdbd7d /fs/namespace.c
parentc1a7368a6f0b18b10fdec87972da680ebdf03794 (diff)
security: remove sb_check_sb hooks
Unused hook. Remove it. 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.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index 8174c8ab5c70..c1d0d877bab7 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1435,11 +1435,6 @@ static int graft_tree(struct vfsmount *mnt, struct path *path)
1435 if (IS_DEADDIR(path->dentry->d_inode)) 1435 if (IS_DEADDIR(path->dentry->d_inode))
1436 goto out_unlock; 1436 goto out_unlock;
1437 1437
1438 err = security_sb_check_sb(mnt, path);
1439 if (err)
1440 goto out_unlock;
1441
1442 err = -ENOENT;
1443 if (!d_unlinked(path->dentry)) 1438 if (!d_unlinked(path->dentry))
1444 err = attach_recursive_mnt(mnt, path, NULL); 1439 err = attach_recursive_mnt(mnt, path, NULL);
1445out_unlock: 1440out_unlock: