[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4ca0a85e0806050807v1ad0c309y75badc3fff7b796f@mail.gmail.com>
Date: Thu, 5 Jun 2008 11:07:29 -0400
From: "Thomas Tuttle" <ttuttle@...gle.com>
To: mpm@...enic.com, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 4/5] pagemap: Make /proc/kpage{count,flags} return EINVAL (not EIO) on unaligned read.
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.
View attachment "0004-Make-proc-kpage-count-flags-return-EINVAL-not-EIO.patch" of type "text/x-patch" (1308 bytes)
Powered by blists - more mailing lists