Re: [PATCH 3/4] splice: Use init_sync_kiocb() in filemap_splice_read()
From: Christoph Hellwig
Date: Mon Feb 13 2023 - 09:47:29 EST
On Mon, Feb 13, 2023 at 01:46:18PM +0000, David Howells wrote:
> + init_sync_kiocb(&iocb, in);
> + iocb.ki_pos = *ppos;
> + iocb.ki_flags &= IOCB_NOWAIT;
This clears everything but IOCB_NOWAIT. But even IOCB_NOWAIT should
not be cleared here as far as I can tell.