apparmor: use list_next_entry instead of list_entry_next
commit38dbd7d8be36b5e68c96a24b406f3653180c1c03
authorGeliang Tang <geliangtang@163.com>
Mon, 16 Nov 2015 13:46:33 +0000 (16 21:46 +0800)
committerJohn Johansen <john.johansen@canonical.com>
Tue, 12 Jul 2016 15:43:10 +0000 (12 08:43 -0700)
treec207452461fef1a1ec3b94a63331c1e0205fb9fa
parentde7c4cc947f9f56f61520ee7edaf380434a98c8d
apparmor: use list_next_entry instead of list_entry_next

list_next_entry has been defined in list.h, so I replace list_entry_next
with it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/apparmorfs.c