]> err.no Git - linux-2.6/commitdiff
[JFFS2] Return 0, not number of bytes written, for success at commit_write
authorTodd Poynor <tpoynor@mvista.com>
Tue, 18 Oct 2005 23:29:38 +0000 (00:29 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Sun, 6 Nov 2005 22:14:16 +0000 (23:14 +0100)
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>

No differences found