mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 09:16:38 +07:00
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>
This commit is contained in:
parent
af7ff2c2c4
commit
1933ca8771
@ -2044,7 +2044,7 @@ static inline void security_inode_free(struct inode *inode)
|
|||||||
static inline int security_inode_init_security(struct inode *inode,
|
static inline int security_inode_init_security(struct inode *inode,
|
||||||
struct inode *dir,
|
struct inode *dir,
|
||||||
const struct qstr *qstr,
|
const struct qstr *qstr,
|
||||||
initxattrs initxattrs,
|
const initxattrs initxattrs,
|
||||||
void *fs_data)
|
void *fs_data)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user