]> 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)
committerJoel Becker <jlbec@evilplan.org>
Sun, 20 Feb 2011 10:36:12 +0000 (02:36 -0800)
commitacf3bb007e5636ef4c17505affb0974175108553
tree5e5c44104bcc865184c8472af85151271dbc03bd
parent705773a6656bba66f2a80a44ddaacf9620df8a59
Ocfs2/refcounttree: Fix a bug for refcounttree to writeback clusters in a right number.

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>
Cc: stable@kernel.org
Signed-off-by: Joel Becker <jlbec@evilplan.org>
fs/ocfs2/refcounttree.c