]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
include/linux/security.h: fix security_inode_init_security() arg
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 24 Oct 2011 14:58:32 +0000 (01:58 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Oct 2011 09:07:53 +0000 (20:07 +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>
include/linux/security.h

index 19d8e04e16884c2bfb860fe2f72715306753ea15..051d4e96cb1fafbd0416439a5c35434120b0b823 100644 (file)
@@ -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;