diff options
author | Theodore Ts'o <tytso@mit.edu> | 2014-09-04 18:09:22 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-09-04 18:09:22 -0400 |
commit | dc6e8d669cf5cb3ff84707c372c0a2a8a5e80845 (patch) | |
tree | a96b09d5670e5f4a502dc246de2d9526a2bb261a /tools | |
parent | 754cfed6bbcfdea6afb14f2686f7f8d71e94d4e2 (diff) |
jbd2: don't call get_bh() before calling __jbd2_journal_remove_checkpoint()
The __jbd2_journal_remove_checkpoint() doesn't require an elevated
b_count; indeed, until the jh structure gets released by the call to
jbd2_journal_put_journal_head(), the bh's b_count is elevated by
virtue of the existence of the jh structure.
Suggested-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions