diff options
author | 2019-11-05 17:44:23 +0100 | |
---|---|---|
committer | 2019-11-05 16:00:48 -0500 | |
commit | ec8b6f600e49dc87a8564807fec4193bf93ee2b5 (patch) | |
tree | 7534ce8dec45adc4437b1f1e4a356e2a3f99ba8a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | jbd2: Drop pointless wakeup from jbd2_journal_stop() (diff) | |
download | linux-rng-ec8b6f600e49dc87a8564807fec4193bf93ee2b5.tar.xz linux-rng-ec8b6f600e49dc87a8564807fec4193bf93ee2b5.zip |
jbd2: Factor out common parts of stopping and restarting a handle
jbd2__journal_restart() has quite some code that is common with
jbd2_journal_stop(). Factor this functionality into stop_this_handle()
helper and use it from both functions. Note that this also drops
t_handle_lock protection from jbd2__journal_restart() as
jbd2_journal_stop() does the same thing without it.
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20191105164437.32602-17-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions