diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/auditsc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 77c705c302f7..b59ffb293ded 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c | |||
| @@ -1024,7 +1024,7 @@ static inline void audit_free_names(struct audit_context *context) | |||
| 1024 | list_for_each_entry_safe(n, next, &context->names_list, list) { | 1024 | list_for_each_entry_safe(n, next, &context->names_list, list) { |
| 1025 | list_del(&n->list); | 1025 | list_del(&n->list); |
| 1026 | if (n->name && n->name_put) | 1026 | if (n->name && n->name_put) |
| 1027 | __putname(n->name); | 1027 | final_putname(n->name); |
| 1028 | if (n->should_free) | 1028 | if (n->should_free) |
| 1029 | kfree(n); | 1029 | kfree(n); |
| 1030 | } | 1030 | } |
| @@ -2050,7 +2050,7 @@ void audit_putname(struct filename *name) | |||
| 2050 | BUG_ON(!context); | 2050 | BUG_ON(!context); |
| 2051 | if (!context->in_syscall) { | 2051 | if (!context->in_syscall) { |
| 2052 | #if AUDIT_DEBUG == 2 | 2052 | #if AUDIT_DEBUG == 2 |
| 2053 | printk(KERN_ERR "%s:%d(:%d): __putname(%p)\n", | 2053 | printk(KERN_ERR "%s:%d(:%d): final_putname(%p)\n", |
| 2054 | __FILE__, __LINE__, context->serial, name); | 2054 | __FILE__, __LINE__, context->serial, name); |
| 2055 | if (context->name_count) { | 2055 | if (context->name_count) { |
| 2056 | struct audit_names *n; | 2056 | struct audit_names *n; |
| @@ -2061,7 +2061,7 @@ void audit_putname(struct filename *name) | |||
| 2061 | n->name, n->name->name ?: "(null)"); | 2061 | n->name, n->name->name ?: "(null)"); |
| 2062 | } | 2062 | } |
| 2063 | #endif | 2063 | #endif |
| 2064 | __putname(name); | 2064 | final_putname(name); |
| 2065 | } | 2065 | } |
| 2066 | #if AUDIT_DEBUG | 2066 | #if AUDIT_DEBUG |
| 2067 | else { | 2067 | else { |
