]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: bch2_extent_ptr_to_bp() no longer depends on device
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 18 Nov 2024 04:58:21 +0000 (23:58 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 29 Dec 2024 18:30:39 +0000 (13:30 -0500)
commitaca7a26f7f47f0290e00250c6ad53a7814584159
treee60e9a3c200b1821495f18a17d555bcabf002923
parentba9752e5f43637096d636abb934b8172fc23ea62
bcachefs: bch2_extent_ptr_to_bp() no longer depends on device

bch_backpointer no longer contains the bucket_offset field, it's just a
direct LBA mapping (with low bits to account for compressed extent
splitting), so we don't need to refer to the device to construct it
anymore.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/backpointers.c
fs/bcachefs/backpointers.h
fs/bcachefs/buckets.c