ocfs2: Fix error return in ocfs2_write_cluster()
authorWengang Wang <wen.gang.wang@oracle.com>
Mon, 13 Jul 2009 03:38:23 +0000 (11:38 +0800)
committerJoel Becker <joel.becker@oracle.com>
Tue, 21 Jul 2009 00:32:55 +0000 (17:32 -0700)
commitcbfa9639aea5007313b75ec43b689d5f9e0c037d
treeba34b17b9bc7a248d800d3786bde73633da46756
parent44d8e4e1e9b941065eb7578669fe51eb65c73e63
ocfs2: Fix error return in ocfs2_write_cluster()

A typo caused ocfs2_write_cluster() to return 0 in some error cases.
Fix it.

Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/aops.c