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-22 12:06:24 -0400 |
commit | 9f0bcbdb834d2bf9414aeff811ac3f62d51fbd24 (patch) | |
tree | 14456dcf7aaae7b099d072abdd422683d2056d41 /fs/bcachefs/btree_node_scan.c | |
parent | 3d792d148703193874b4800050631996e2f95d90 (diff) |
bcachefs: Add missing snapshots_seen_add_inorder()for-next
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/bcachefs/btree_node_scan.c')
0 files changed, 0 insertions, 0 deletions