Skip to content

Commit cf3e696

Browse files
author
Kent Overstreet
committed
bcachefs: fix bch2_extent_ptr_eq()
Reviewed-by: Thorsten Blum <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
1 parent c522093 commit cf3e696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/bcachefs/extents.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ static inline bool bch2_extent_ptr_eq(struct bch_extent_ptr ptr1,
704704
ptr1.unwritten == ptr2.unwritten &&
705705
ptr1.offset == ptr2.offset &&
706706
ptr1.dev == ptr2.dev &&
707-
ptr1.dev == ptr2.dev);
707+
ptr1.gen == ptr2.gen);
708708
}
709709

710710
void bch2_ptr_swab(struct bkey_s);

0 commit comments

Comments
 (0)