[lvc-project] [PATCH v2] netfs: fix kernel BUG in iov_iter_revert()

David Howells dhowells at redhat.com
Wed Dec 4 17:03:03 MSK 2024


Hi Dmitry,

> So wrap 'netfs_prepare_read_iterator()' to handle all possible
> -ENOMEM cases and mark the corresponding subrequest as cancelled.

I think there's a slightly better way to do it.  There are three users of
netfs_prepare_read_iterator() but there's also the call to ->prepare_read()
which I think can all be combined.

(And I've just realised that the patch I asked syzbot to test has a bug in it)

David




More information about the lvc-project mailing list