Skip to content
Commit 45a90bfd authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent ede86cc4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment