diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-21 14:25:21 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-23 15:20:59 -0400 |
commit | f8924272fafd41e42ff6b3efc4d02b4161123572 (patch) | |
tree | abc3cbc6ccb2291d0e3b0c25de97f790bb07e58b /fs/netfs/misc.c | |
parent | 3b26e8858358ecbeaacd196df4e1bfad13e94d1a (diff) |
bcachefs: Add missing snapshots_seen_add_inorder()bcachefs-for-upstream
This fixes an infinite loop when repairing "extent past end of inode",
when the extent is an older snapshot than the inode that needs repair.
Without the snaphsots_seen_add_inorder() we keep trying to delete the
same extent, even though it's no longer visible in the inode's snapshot.
Fixes: 63d6e9311999 ("bcachefs: bch2_fpunch_snapshot()")
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/netfs/misc.c')
0 files changed, 0 insertions, 0 deletions