2022-05-23 04:16:49

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] fs: prefer read_iter over read and write_iter over write

On 5/20/22 7:51 AM, Jason A. Donenfeld wrote:
> Most kernel code prefers read_iter over read and write_iter over write,
> yet the read function pointer is tested first. Reverse these so that the
> iter function is always used first.

Acked-by: Jens Axboe <[email protected]>

--
Jens Axboe