Skip to content

Commit

Permalink
include/linux/security.h: fix security_inode_init_security() arg
Browse files Browse the repository at this point in the history
Make the security_inode_init_security() initxattrs arg const, to match the
non-stubbed version of that function.

Cc: James Morris <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: James Morris <[email protected]>
  • Loading branch information
akpm00 authored and James Morris committed Nov 16, 2011
1 parent af7ff2c commit 1933ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/security.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1933ca8

Please sign in to comment.