[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180322152414.GF30522@ZenIV.linux.org.uk>
Date: Thu, 22 Mar 2018 15:24:14 +0000
From: Al Viro <viro@...IV.linux.org.uk>
To: Christoph Hellwig <hch@....de>
Cc: Avi Kivity <avi@...lladb.com>, linux-aio@...ck.org,
linux-fsdevel@...r.kernel.org, linux-api@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/9] aio: sanitize ki_list handling
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)?
Powered by blists - more mailing lists