diff options
Diffstat (limited to 'fs/bcachefs/extents.c')
-rw-r--r-- | fs/bcachefs/extents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/extents.c b/fs/bcachefs/extents.c index 41a2b36f1d2f..a8c2081cdd25 100644 --- a/fs/bcachefs/extents.c +++ b/fs/bcachefs/extents.c @@ -79,7 +79,7 @@ static unsigned bch2_extent_ptr_durability(struct bch_fs *c, for (i = 0; i < p.ec_nr; i++) { struct stripe *s = - genradix_ptr(&c->stripes[0], p.idx); + genradix_ptr(&c->stripes[0], p.ec[i].idx); if (WARN_ON(!s)) continue; |