From: Hidehiro Kawai Date: Sun, 19 Oct 2008 03:27:58 +0000 (-0700) Subject: jbd: ordered data integrity fix X-Git-Tag: v2.6.28-rc1~160 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=960a22ae60c8a723bd17da3b929fe0bcea6d007e;p=pandora-kernel.git jbd: ordered data integrity fix In ordered mode, if a file data buffer being dirtied exists in the committing transaction, we write the buffer to the disk, move it from the committing transaction to the running transaction, then dirty it. But we don't have to remove the buffer from the committing transaction when the buffer couldn't be written out, otherwise it would miss the error and the committing transaction would not abort. This patch adds an error check before removing the buffer from the committing transaction. Signed-off-by: Hidehiro Kawai Acked-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed