]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Make the security_inode_init_security() initxattrs arg const, to match the
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 24 Aug 2011 23:47:22 +0000 (09:47 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Sep 2011 06:19:28 +0000 (16:19 +1000)
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;