David Howells dhowells@cambridge.redhat.com writes:
Not so... The file offset must also be page aligned!
OK, this has apparently changed in kernel 2.4; in kernel 2.2 block size alignment is enough. That's unfortunate, but I guess it was necessary to support large files or memory sizes. Then yes, in 2.4 your patch will be more useful.