diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-02 01:56:40 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-09 00:29:24 +0300 |
commit | 62025697778cb5ca6173b3e52d7e7270edc65a2c (patch) | |
tree | 6ea06384ed33c39c5f33f33ac74a46c46c2d5a0d /fs/bcachefs/trace.h | |
parent | b6d29b586920daf9f1c5e59ffea91ed162842781 (diff) | |
download | linux-62025697778cb5ca6173b3e52d7e7270edc65a2c.tar.xz |
bcachefs: Move nocow unlock to bch2_write_endio()
This fixes a lifetime issue; bch2_nocow_write_unlock() uses
PTR_BUCKET_POS(), which needs the device - but we drop our ref to the
device in bch2_write_endio().
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/trace.h')
0 files changed, 0 insertions, 0 deletions