From: Theodore Ts'o Date: Mon, 6 Oct 2008 16:04:02 +0000 (-0400) Subject: jbd2: Fix buffer head leak when writing the commit block X-Git-Tag: v2.6.28-rc1~709^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45a90bfd90c1215bf824c0f705b409723f52361b;p=pandora-kernel.git jbd2: Fix buffer head leak when writing the commit block Also make sure the buffer heads are marked clean before submitting bh for writing. The previous code was marking the buffer head dirty, which would have forced an unneeded write (and seek) to the journal for no good reason. Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed