Re: [PATCH 4/9] aio: sanitize ki_list handling
From: Christoph Hellwig <hch@lst.de>
Date: 2018-03-22 17:04:06
Also in:
linux-fsdevel, lkml
From: Christoph Hellwig <hch@lst.de>
Date: 2018-03-22 17:04:06
Also in:
linux-fsdevel, lkml
On Thu, Mar 22, 2018 at 03:24:14PM +0000, Al Viro wrote:
On Wed, Mar 21, 2018 at 08:32:27AM +0100, Christoph Hellwig wrote:quoted
- if (iocb->ki_list.next) { + if (!list_empty_careful(iocb->ki_list.next)) {Umm... Why not list_empty_careful(&iocb->ki_list)?
Yes, that makes a lot more sense. -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to majordomo@kvack.org. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>