diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-11-16 11:05:30 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-12-05 10:55:41 -0800 |
commit | 72966ac2446af2f7feeb7e773395cb17e9e8d325 (patch) | |
tree | 417bcae54d87792c9f931440ef6c585460f73bc6 /firmware | |
parent | 7a342d5bc87e3bf42e73e5a499be6e847f889815 (diff) |
jbd2: Fix buffer head leak when writing the commit block
(cherry picked from commit 45a90bfd90c1215bf824c0f705b409723f52361b)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions