commit | 8b491d750885ebe8e7d385ce4186c85957d67123 | [log] [tgz] |
---|---|---|
author | Todd Poynor <tpoynor@mvista.com> | Thu Aug 04 02:05:51 2005 +0100 |
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | Thu Aug 04 12:52:40 2005 +0200 |
tree | 18c7eb52bfc8821eaf08430fdaa5ce70078f2200 | |
parent | 1da2c9a638f8af7be3daf1fa8dbd087b3284d16e [diff] |
[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 <tpoynor@mvista.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>