Thread (33 messages) 33 messages, 4 authors, 2018-03-22

Re: [PATCH 4/9] aio: sanitize ki_list handling

From: Al Viro <viro@ZenIV.linux.org.uk>
Date: 2018-03-22 15:24:14
Also in: linux-fsdevel, lkml

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)?

--
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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help