Merge branch 'next-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity into next
diff --git a/security/capability.c b/security/capability.c
index 8b4f24a..9323bbe 100644
--- a/security/capability.c
+++ b/security/capability.c
@@ -116,7 +116,7 @@
 					struct qstr *name, void **ctx,
 					u32 *ctxlen)
 {
-	return 0;
+	return -EOPNOTSUPP;
 }
 
 static int cap_inode_alloc_security(struct inode *inode)