Re: [PATCH RFC 01/41] loop: refuse backing files that aren't open for reading

From: Christoph Hellwig

Date: Wed Nov 11 2026 - 09:59:44 EST


The fix itself looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

But i wonder if we want a thin wrapper around ->read_iter/_write_iter
to do this check so that it matches the normal read/write path?