diff options
author | 2024-08-21 23:21:52 -0400 | |
---|---|---|
committer | 2024-08-22 02:07:23 -0400 | |
commit | 0b50b7313ef2494926df30ce8e2ce284f1b847fc (patch) | |
tree | e31051c61b62529648baeabfb05d543268dc5fba /scripts/generate_rust_analyzer.py | |
parent | bcachefs: Fix compat issue with old alloc_v4 keys (diff) | |
download | wireguard-linux-0b50b7313ef2494926df30ce8e2ce284f1b847fc.tar.xz wireguard-linux-0b50b7313ef2494926df30ce8e2ce284f1b847fc.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions