diff --git a/security/capability.c b/security/capability.c index 8b4f24ae43381de05af67271edd9a8ddd57c651f..9323bbeba296b28e53667ab5bdb6b3c9508aa5d2 100644 --- a/security/capability.c +++ b/security/capability.c @@ -116,7 +116,7 @@ static int cap_dentry_init_security(struct dentry *dentry, int mode, struct qstr *name, void **ctx, u32 *ctxlen) { - return 0; + return -EOPNOTSUPP; } static int cap_inode_alloc_security(struct inode *inode)