]> git.baikalelectronics.ru Git - kernel.git/commit
audit: Use list_move instead of list_del/list_add
authorBaokun Li <libaokun1@huawei.com>
Tue, 8 Jun 2021 03:11:50 +0000 (11:11 +0800)
committerPaul Moore <paul@paul-moore.com>
Wed, 9 Jun 2021 02:18:35 +0000 (22:18 -0400)
commit3133dece45cc0c40d586219798f554d057f4eb0e
treea4e3677885abb44e0de323e370db3e65ad5f346f
parenta5b2ee42782a0316909c2f4d7060142b26c71109
audit: Use list_move instead of list_del/list_add

Using list_move() instead of list_del() + list_add().

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Acked-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/audit_tree.c