aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/selinux/hooks.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 7e90c9e58657..08b506846a1f 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -2694,11 +2694,6 @@ static int selinux_inode_permission(struct inode *inode, int mask)
2694static int selinux_inode_setattr(struct dentry *dentry, struct iattr *iattr) 2694static int selinux_inode_setattr(struct dentry *dentry, struct iattr *iattr)
2695{ 2695{
2696 const struct cred *cred = current_cred(); 2696 const struct cred *cred = current_cred();
2697 int rc;
2698
2699 rc = secondary_ops->inode_setattr(dentry, iattr);
2700 if (rc)
2701 return rc;
2702 2697
2703 if (iattr->ia_valid & ATTR_FORCE) 2698 if (iattr->ia_valid & ATTR_FORCE)
2704 return 0; 2699 return 0;