diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-10-06 12:04:02 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-10-06 12:04:02 -0400 |
commit | 45a90bfd90c1215bf824c0f705b409723f52361b (patch) | |
tree | e314c36e14c380b87d19e3054494768f4c14e458 /kernel/notifier.c | |
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>
Diffstat (limited to 'kernel/notifier.c')
0 files changed, 0 insertions, 0 deletions