]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Ocfs2/refcounttree: Fix a bug for refcounttree to writeback clusters in a right number.
authorTristan Ye <tristan.ye@oracle.com>
Fri, 21 Jan 2011 10:20:18 +0000 (18:20 +0800)
committerAK <andi@firstfloor.org>
Thu, 31 Mar 2011 18:58:15 +0000 (11:58 -0700)
commit065d36903eda46c9b3434feaebc9b2e2b48c1689
treee67b5172683a54cb2b69a6055aa49b392a940f0d
parent4bb1e0d018b987cbbac02b631242cbecdf4c6ae0
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
fs/ocfs2/refcounttree.c