From 4bff7f8e6ecadaaa28c1ef21879e9b35c2c6730d Mon Sep 17 00:00:00 2001 From: James Morris Date: Thu, 29 Jan 2009 12:00:08 +1100 Subject: [PATCH] --- yaml --- r: 132582 b: refs/heads/master c: e4737250b751b4e0e802adae9a4d3ae0227b580b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/security/selinux/hooks.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 218822f108a5..ddeac002a144 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: efdfac437607e4acfed66c383091a376525eaec4 +refs/heads/master: e4737250b751b4e0e802adae9a4d3ae0227b580b diff --git a/trunk/security/selinux/hooks.c b/trunk/security/selinux/hooks.c index da0e523157d0..ec834dc0b414 100644 --- a/trunk/security/selinux/hooks.c +++ b/trunk/security/selinux/hooks.c @@ -2635,11 +2635,6 @@ static int selinux_inode_link(struct dentry *old_dentry, struct inode *dir, stru static int selinux_inode_unlink(struct inode *dir, struct dentry *dentry) { - int rc; - - rc = secondary_ops->inode_unlink(dir, dentry); - if (rc) - return rc; return may_link(dir, dentry, MAY_UNLINK); }