Skip to contentSkip to conversation

lustre: llite: Remove filtering of seclabel xattr

PATCH New Robin Humble 1 participant 1 message May 17, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lustre: llite: Remove filtering of seclabel xattr

---
 lustre/llite/xattr.c | 10 ----------
 1 file changed, 10 deletions(-)
lustre/llite/xattr.c +0 -10
index 4d42956..527ee40 100644
@@ -147,11 +147,6 @@ int ll_setxattr_common(struct inode *inode, const char *name,
 		 strcmp(name, "lustre.lov") == 0))
 		RETURN(0);
 
-	/* b15587: ignore security.capability xattr for now */
-	if ((xattr_type == XATTR_SECURITY_T &&
-	    strcmp(name, "security.capability") == 0))
-		RETURN(0);
-
 	/* LU-549:  Disable security.selinux when selinux is disabled */
 	if (xattr_type == XATTR_SECURITY_T && !selinux_is_enabled() &&
 	    strcmp(name, "security.selinux") == 0)
@@ -343,11 +338,6 @@ int ll_getxattr_common(struct inode *inode, const char *name,
         if (rc)
                 RETURN(rc);
 
-        /* b15587: ignore security.capability xattr for now */
-        if ((xattr_type == XATTR_SECURITY_T &&
-            strcmp(name, "security.capability") == 0))
-                RETURN(-ENODATA);
-
         /* LU-549:  Disable security.selinux when selinux is disabled */
         if (xattr_type == XATTR_SECURITY_T && !selinux_is_enabled() &&
             strcmp(name, "security.selinux") == 0)
Signature · 1 line
2.9.4