> Fix this by limiting the range we ask for in the caller > (generic_file_buffered_read()) so that offset+len doesn't extend past > the page in question, and remove the clamping from the block variant. Yes the current prototype is a bit odd.. > + int (*is_partially_uptodate)(struct page *, unsigned, unsigned); Can you also make it return a bool while you are at it?