summaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2019-11-05 17:44:23 +0100
committerTheodore Ts'o <tytso@mit.edu>2019-11-05 16:00:48 -0500
commitec8b6f600e49dc87a8564807fec4193bf93ee2b5 (patch)
tree7534ce8dec45adc4437b1f1e4a356e2a3f99ba8a /fs/jbd2/commit.c
parent5559b2d81b51de75cb7864bb1fbb82982f7e8fff (diff)
downloadlinux-ec8b6f600e49dc87a8564807fec4193bf93ee2b5.tar.bz2
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 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions