Ocfs2/refcounttree: Fix a bug for refcounttree to writeback clusters in a right number.
commit1f4833bec35ebc1d53b5cb6eaa9b529d19691999
authorTristan Ye <tristan.ye@oracle.com>
Fri, 21 Jan 2011 10:20:18 +0000 (21 18:20 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:45:22 +0000 (21 12:45 -0700)
tree89cecee21b7465f9d15d97c97db3c92d47524d4a
parent52d38a02368bb821bb1df4a55f52f65d9a9f0b85
Ocfs2/refcounttree: Fix a bug for refcounttree to writeback clusters in a right number.

commit acf3bb007e5636ef4c17505affb0974175108553 upstream.

Current refcounttree codes actually didn't writeback the new pages out in
write-back mode, due to a bug of always passing a ZERO number of clusters
to 'ocfs2_cow_sync_writeback', the patch tries to pass a proper one in.

Signed-off-by: Tristan Ye <tristan.ye@oracle.com>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ocfs2/refcounttree.c