Re: [PATCH 4/5] pagemap: Make /proc/kpage{count,flags} returnEINVAL (not EIO) on unaligned read.

From: Matt Mackall
Date: Thu Jun 05 2008 - 12:25:50 EST



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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/