]> 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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:46:52 +0000 (12:46 -0400)
commitb780bba8f434c971c8d8fd47b373a2b811e9ef66
tree81529366dd8fe2222e22084fadbd0fa7b1bec769
parent7c5159f991f14eb5cec72ba33e29981bf0ac2c32
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: Paul Gortmaker <paul.gortmaker@windriver.com>
fs/ocfs2/refcounttree.c