Re: [PATCH 4/9] aio: sanitize ki_list handling
From: Al Viro
Date: Thu Mar 22 2018 - 11:24:33 EST
On Wed, Mar 21, 2018 at 08:32:27AM +0100, Christoph Hellwig wrote:
> - if (iocb->ki_list.next) {
> + if (!list_empty_careful(iocb->ki_list.next)) {
Umm... Why not list_empty_careful(&iocb->ki_list)?