From: Todd Poynor Date: Thu, 4 Aug 2005 01:05:51 +0000 (+0100) Subject: [MTD] mtdchar: Return EINVAL for bad seeks instead of fixing up to valid byte X-Git-Tag: v2.6.15-rc1~448^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b491d750885ebe8e7d385ce4186c85957d67123;p=pandora-kernel.git [MTD] mtdchar: Return EINVAL for bad seeks instead of fixing up to valid byte mtdchar return -EINVAL for seek prior to offset 0 or to beyond the last byte in the device/partition, similar to various other seek methods, instead of fixing up to first or last byte. Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed