lkml.org 
[lkml]   [2018]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/9] aio: sanitize ki_list handling
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:
>
> > - 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.

\
 
 \ /
  Last update: 2018-03-22 18:05    [W:0.865 / U:1.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site