diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2011-11-15 18:11:44 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-11-15 19:30:56 -0500 |
commit | 1933ca8771585d43d3d2099c0c9ba7ca6b96e303 (patch) | |
tree | 098a648ed66081de4321786834192ad7bdbec065 | |
parent | af7ff2c2c45e6c6d533dd968709732da3d1d48f8 (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>
-rw-r--r-- | include/linux/security.h | 2 |
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) | |||
2044 | static inline int security_inode_init_security(struct inode *inode, | 2044 | static inline int security_inode_init_security(struct inode *inode, |
2045 | struct inode *dir, | 2045 | struct inode *dir, |
2046 | const struct qstr *qstr, | 2046 | const struct qstr *qstr, |
2047 | initxattrs initxattrs, | 2047 | const initxattrs initxattrs, |
2048 | void *fs_data) | 2048 | void *fs_data) |
2049 | { | 2049 | { |
2050 | return 0; | 2050 | return 0; |