commit | 45a90bfd90c1215bf824c0f705b409723f52361b | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon Oct 06 12:04:02 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Oct 06 12:04:02 2008 -0400 |
tree | e314c36e14c380b87d19e3054494768f4c14e458 | |
parent | ede86cc473defab74d778aeac14b19f43129d4d1 [diff] |
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" <tytso@mit.edu>