From: Andrew Morton Date: Tue, 15 Nov 2011 23:11:44 +0000 (-0800) Subject: include/linux/security.h: fix security_inode_init_security() arg X-Git-Tag: firefly_0821_release~3680^2~3757^2^2~17 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1933ca8771585d43d3d2099c0c9ba7ca6b96e303;p=firefly-linux-kernel-4.4.55.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 Signed-off-by: James Morris --- 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;