summaryrefslogtreecommitdiff
path: root/security/security.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-07 23:14:50 +0400
committerJames Morris <jmorris@namei.org>2010-04-12 06:19:15 +0400
commit9d5ed77dadc66a72b40419c91df942adfa55a102 (patch)
treeeb55062edf757a7b7fe707adda7178181f8a4427 /security/security.c
parent91a9420f5826db482030c21eca8c507271bbc441 (diff)
downloadlinux-9d5ed77dadc66a72b40419c91df942adfa55a102.tar.xz
security: remove dead hook inode_delete
Unused hook. Remove. Signed-off-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/security.c')
-rw-r--r--security/security.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/security/security.c b/security/security.c
index 5223fa408271..c65b0bca05bb 100644
--- a/security/security.c
+++ b/security/security.c
@@ -550,13 +550,6 @@ int security_inode_getattr(struct vfsmount *mnt, struct dentry *dentry)
return security_ops->inode_getattr(mnt, dentry);
}
-void security_inode_delete(struct inode *inode)
-{
- if (unlikely(IS_PRIVATE(inode)))
- return;
- security_ops->inode_delete(inode);
-}
-
int security_inode_setxattr(struct dentry *dentry, const char *name,
const void *value, size_t size, int flags)
{