Re: [PATCH] netfs: Fix early read unlock of page with EOF in middle

From: David Howells

Date: Sat Dec 20 2025 - 10:17:25 EST


Christian Schoenebeck <linux_oss@xxxxxxxxxxxxx> wrote:

> What about write_collect.c side, is it safe as is?

That's a good question - but it should be safe since it doesn't modify the
content of the page and doesn't typically write beyond the EOF (though it
might write a block that spans the EOF marker to the cache).

David