diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/security/security.c b/security/security.c index b84a89dd59c6..4830f36e1ab5 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -336,11 +336,13 @@ void security_inode_free(struct inode *inode) | |||
336 | } | 336 | } |
337 | 337 | ||
338 | int security_inode_init_security(struct inode *inode, struct inode *dir, | 338 | int security_inode_init_security(struct inode *inode, struct inode *dir, |
339 | char **name, void **value, size_t *len) | 339 | const struct qstr *qstr, char **name, |
340 | void **value, size_t *len) | ||
340 | { | 341 | { |
341 | if (unlikely(IS_PRIVATE(inode))) | 342 | if (unlikely(IS_PRIVATE(inode))) |
342 | return -EOPNOTSUPP; | 343 | return -EOPNOTSUPP; |
343 | return security_ops->inode_init_security(inode, dir, name, value, len); | 344 | return security_ops->inode_init_security(inode, dir, qstr, name, value, |
345 | len); | ||
344 | } | 346 | } |
345 | EXPORT_SYMBOL(security_inode_init_security); | 347 | EXPORT_SYMBOL(security_inode_init_security); |
346 | 348 | ||