summaryrefslogtreecommitdiff
path: root/include/linux/security.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2011-11-15 15:11:44 -0800
committerJames Morris <jmorris@namei.org>2011-11-16 11:30:56 +1100
commit1933ca8771585d43d3d2099c0c9ba7ca6b96e303 (patch)
tree098a648ed66081de4321786834192ad7bdbec065 /include/linux/security.h
parentaf7ff2c2c45e6c6d533dd968709732da3d1d48f8 (diff)
include/linux/security.h: fix security_inode_init_security() arg
Make the security_inode_init_security() initxattrs arg const, to match the non-stubbed version of that function. Cc: James Morris <jmorris@namei.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include/linux/security.h')
-rw-r--r--include/linux/security.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index 19d8e04e1688..051d4e96cb1f 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -2044,7 +2044,7 @@ static inline void security_inode_free(struct inode *inode)
static inline int security_inode_init_security(struct inode *inode,
struct inode *dir,
const struct qstr *qstr,
- initxattrs initxattrs,
+ const initxattrs initxattrs,
void *fs_data)
{
return 0;