Ocfs2/refcounttree: Fix a bug for refcounttree to writeback clusters in a right number.
commit08020344c3d5632890a14218f2985c89d8d6c9b9
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, 7 Mar 2011 23:17:52 +0000 (7 15:17 -0800)
tree29540e76c38aef6663d185ca03c4f9c19b612bb2
parent60ee09b1acf7ffddfb301bbd6c54ffb2744b09ab
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