diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-08-22 06:21:52 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-08-22 09:07:23 +0300 |
commit | 0b50b7313ef2494926df30ce8e2ce284f1b847fc (patch) | |
tree | e31051c61b62529648baeabfb05d543268dc5fba /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8ed823b19214e403ca485532f48c0e02035021ae (diff) | |
download | linux-0b50b7313ef2494926df30ce8e2ce284f1b847fc.tar.xz |
bcachefs: Fix refcounting in discard path
bch_dev->io_ref does not protect against the filesystem going away;
bch_fs->writes does.
Thus the filesystem write ref needs to be the last ref we release.
Reported-by: syzbot+9e0404b505e604f67e41@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions