summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTodd Poynor <tpoynor@mvista.com>2005-10-19 00:29:38 +0100
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-11-06 23:14:16 +0100
commit4fc67fbe52d7c34dfd3e03a1a79f3e078904bba2 (patch)
tree34c23c384bd19123afdad8495927afd400a2b5db /drivers
parentfb0258730ad554db531f12fc1c3d5a5234fe52a4 (diff)
downloadlinux-4fc67fbe52d7c34dfd3e03a1a79f3e078904bba2.tar.gz
linux-4fc67fbe52d7c34dfd3e03a1a79f3e078904bba2.tar.bz2
linux-4fc67fbe52d7c34dfd3e03a1a79f3e078904bba2.zip
[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')
0 files changed, 0 insertions, 0 deletions