From: Andrew Morton Date: Wed, 5 Oct 2011 00:43:16 +0000 (+1100) Subject: include/linux/security.h: fix security_inode_init_security() arg X-Git-Tag: next-20111005~2^2~135 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3a71b46c756d4a2203c3383073791ff3eef914ca;p=karo-tx-linux.git 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 Signed-off-by: Andrew Morton --- 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;