Commit a861c72
bcachefs: Require snapshot id to be set
Now that all the existing code has been converted for snapshots, this
patch changes the code for initializing a btree iterator to require a
snapshot to be specified, and also change bkey_invalid() to allow for
non U32_MAX snapshot IDs.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>1 parent 6f83cb8 commit a861c72
2 files changed
+9
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
680 | 683 | | |
681 | 684 | | |
682 | 685 | | |
| |||
2522 | 2525 | | |
2523 | 2526 | | |
2524 | 2527 | | |
2525 | | - | |
2526 | | - | |
| 2528 | + | |
| 2529 | + | |
2527 | 2530 | | |
2528 | | - | |
2529 | | - | |
2530 | | - | |
2531 | | - | |
2532 | | - | |
2533 | | - | |
2534 | | - | |
2535 | 2531 | | |
2536 | | - | |
2537 | | - | |
2538 | | - | |
| 2532 | + | |
| 2533 | + | |
| 2534 | + | |
2539 | 2535 | | |
2540 | 2536 | | |
2541 | 2537 | | |
| |||
0 commit comments