commit | 4fc67fbe52d7c34dfd3e03a1a79f3e078904bba2 | [log] [tgz] |
---|---|---|
author | Todd Poynor <tpoynor@mvista.com> | Wed Oct 19 00:29:38 2005 +0100 |
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | Sun Nov 06 23:14:16 2005 +0100 |
tree | 34c23c384bd19123afdad8495927afd400a2b5db | |
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>