• Kent Overstreet's avatar
    bcachefs: Split out SPOS_MAX · 618b1c0e
    Kent Overstreet authored
    Internal btree code really wants a POS_MAX with all fields ~0; external
    code more likely wants the snapshot field to be 0, because when we're
    passing it to bch2_trans_get_iter() it's used for the snapshot we're
    operating in, which should be 0 for most btrees that don't use
    snapshots.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
    618b1c0e
move.c 23.8 KB