Jann Horn ddd2b85ff7 afs: Use kfree_rcu() instead of casting kfree() to rcu_callback_t
afs_put_addrlist() casts kfree() to rcu_callback_t. Apart from being wrong
in theory, this might also blow up when people start enforcing function
types via compiler instrumentation, and it means the rcu_head has to be
first in struct afs_addr_list.

Use kfree_rcu() instead, it's simpler and more correct.

Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-03-13 10:47:33 -07:00
..
2019-11-25 19:40:40 -08:00
2019-07-10 20:55:33 -07:00
2019-12-11 16:56:54 +00:00
2019-11-30 10:57:22 -08:00
2019-09-02 11:43:54 +01:00
2019-07-10 20:55:33 -07:00
2019-07-10 20:55:33 -07:00
2019-11-21 09:12:17 +00:00
2019-11-30 10:57:22 -08:00