Messages in this thread | | | Subject | Re: [PATCH 4/5] pagemap: Make /proc/kpage{count,flags} return EINVAL (not EIO) on unaligned read. | From | Matt Mackall <> | Date | Thu, 05 Jun 2008 11:24:46 -0500 |
| |
On Thu, 2008-06-05 at 11:07 -0400, Thomas Tuttle wrote: > If a process tries to read at a position that's not a multiple of 8, > or for a count that's not a multiple of 8, they've passed an invalid > argument to read (for this file), so we should return EINVAL.
This patch should probably precede your 3/5.
-- Mathematics is the supreme nostalgia of our time.
| |