The fix itself looks good: Reviewed-by: Christoph Hellwig <hch at lst.de> 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?