summaryrefslogtreecommitdiff
path: root/include/linux/security.h
diff options
context:
space:
mode:
authorMark Rustad <mark.d.rustad@intel.com>2014-08-28 15:43:09 +0400
committerJames Morris <james.l.morris@oracle.com>2014-09-02 17:07:55 +0400
commitfbff66108352d19b5cffa7dce26d7638c9dd4d70 (patch)
treef2d4966f2cc114eddeea9a1818eaeb7d55fe2b65 /include/linux/security.h
parent478d085524c57cf4283699f529d5a4c22188ea69 (diff)
downloadlinux-fbff66108352d19b5cffa7dce26d7638c9dd4d70.tar.xz
security: Silence shadow warning
Renaming an unused formal parameter in the static inline function security_inode_init_security eliminates many W=2 warnings. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'include/linux/security.h')
-rw-r--r--include/linux/security.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index 623f90e5f38d..3b3aeb1b74cb 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -2108,7 +2108,7 @@ static inline int security_dentry_init_security(struct dentry *dentry,
static inline int security_inode_init_security(struct inode *inode,
struct inode *dir,
const struct qstr *qstr,
- const initxattrs initxattrs,
+ const initxattrs xattrs,
void *fs_data)
{
return 0;