From 97fecb3f248c7992284fc81ebe8ddc66feaa74e1 Mon Sep 17 00:00:00 2001 From: James Morris Date: Thu, 29 Jan 2009 11:57:34 +1100 Subject: [PATCH] --- yaml --- r: 132581 b: refs/heads/master c: efdfac437607e4acfed66c383091a376525eaec4 h: refs/heads/master i: 132579: 464732f79b9bd08a63a4cd79629354379ac19e2a v: v3 --- [refs] | 2 +- trunk/security/selinux/hooks.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/[refs] b/[refs] index fc1ff43ec367..218822f108a5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 97422ab9ef45118cb7418d799dc69040f17108ce +refs/heads/master: efdfac437607e4acfed66c383091a376525eaec4 diff --git a/trunk/security/selinux/hooks.c b/trunk/security/selinux/hooks.c index 42aa8de5f590..da0e523157d0 100644 --- a/trunk/security/selinux/hooks.c +++ b/trunk/security/selinux/hooks.c @@ -2630,11 +2630,6 @@ static int selinux_inode_create(struct inode *dir, struct dentry *dentry, int ma static int selinux_inode_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry) { - int rc; - - rc = secondary_ops->inode_link(old_dentry, dir, new_dentry); - if (rc) - return rc; return may_link(dir, old_dentry, MAY_LINK); }