diff options
author | Todd Poynor <tpoynor@mvista.com> | 2005-10-19 00:29:38 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-06 23:14:16 +0100 |
commit | 4fc67fbe52d7c34dfd3e03a1a79f3e078904bba2 (patch) | |
tree | 34c23c384bd19123afdad8495927afd400a2b5db /drivers/mtd/nand | |
parent | fb0258730ad554db531f12fc1c3d5a5234fe52a4 (diff) |
[JFFS2] Return 0, not number of bytes written, for success at commit_write
Some callers to block-layer commit_write function treat non-zero return as
error, notably the loopback mount driver sometimes used in conjunction with
JFFS2 on NAND flash for bad block avoidance, etc. Return zero for success
as do various other commit_write functions.
Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/nand')
0 files changed, 0 insertions, 0 deletions