bcachefs: Add offset_into_extent param to bch2_read_extent()
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 9 Jul 2019 16:56:43 +0000 (12:56 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:24 +0000 (17:08 -0400)
commit06ed855862853dcdd365a12f7cf182961bec61de
tree12ff39c492ae211a461f86180efb57ab638c1ad9
parenta4461c8a7fc33aa663b0b1b2b7144d5890b6887f
bcachefs: Add offset_into_extent param to bch2_read_extent()

With reflink, we'll no longer be able to calculate the offset of the
data we want into the extent we're reading from from the extent pos and
the iter pos - we'll have to pass it in separately.

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