[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YoeZi94CpGW9LE/y@zx2c4.com>
Date: Fri, 20 May 2022 15:37:15 +0200
From: "Jason A. Donenfeld" <Jason@...c4.com>
To: Jens Axboe <axboe@...nel.dk>, Theodore Ts'o <tytso@....edu>,
Christoph Hellwig <hch@....de>,
LKML <linux-kernel@...r.kernel.org>,
Al Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH v4 1/3] random: convert to using fops->read_iter()
On Fri, May 20, 2022 at 11:44:57AM +0200, Jason A. Donenfeld wrote:
> const struct file_operations urandom_fops = {
> - .read = urandom_read,
> + .read_iter = urandom_read_iter,
One thing I noticed is that drivers/char/mem.c has both the .read and
the .read_iter functions for /dev/zero and /dev/null and such. I wonder
if the .read ones can be removed?
Jason
Powered by blists - more mailing lists