Thread (8 messages) 8 messages, 3 authors, 2021-10-21

Re: [PATCH v2] fs: replace the ki_complete two integer arguments with a single argument

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-10-21 08:32:21
Also in: linux-fsdevel, linux-usb

quoted hunk ↗ jump to hunk
@@ -1436,8 +1436,8 @@ static void aio_complete_rw(struct kiocb *kiocb, long res, long res2)
 		file_end_write(kiocb->ki_filp);
 	}
 
-	iocb->ki_res.res = res;
-	iocb->ki_res.res2 = res2;
+	iocb->ki_res.res = res & 0xffffffff;
+	iocb->ki_res.res2 = res >> 32;
This needs a big fat comments explaining the historic context.

Otherwise this looks fine to me.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help