diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-01 05:32:20 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-03 18:44:18 +0100 |
commit | 0117591e69d1edff46bc87061e533a1e25a8c500 (patch) | |
tree | c5bff44bcfa353b11f4d0025c9c1b3ce405daee7 /fs/bcachefs/btree_update.c | |
parent | Linux 6.7-rc4 (diff) | |
download | linux-0117591e69d1edff46bc87061e533a1e25a8c500.tar.xz linux-0117591e69d1edff46bc87061e533a1e25a8c500.zip |
bcachefs: Don't drop journal pins in exit path
There's no need to drop journal pins in our exit paths - the code was
trying to have everything cleaned up on any shutdown, but better to just
tweak the assertions a bit.
This fixes a bug where calling into journal reclaim in the exit path
would cass a null ptr deref.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update.c')
0 files changed, 0 insertions, 0 deletions