projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af7ff2c
)
include/linux/security.h: fix security_inode_init_security() arg
author
Andrew Morton
<akpm@linux-foundation.org>
Tue, 15 Nov 2011 23:11:44 +0000
(15:11 -0800)
committer
James Morris
<jmorris@namei.org>
Wed, 16 Nov 2011 00:30:56 +0000
(11:30 +1100)
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>
include/linux/security.h
patch
|
blob
|
history
diff --git
a/include/linux/security.h
b/include/linux/security.h
index 19d8e04e16884c2bfb860fe2f72715306753ea15..051d4e96cb1fafbd0416439a5c35434120b0b823 100644
(file)
--- 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;