diff options
| author | Andreas Gruenbacher <agruenba@redhat.com> | 2025-01-27 20:54:52 +0100 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-14 21:02:14 -0400 |
| commit | 68eb4c5fea4146e060a32d6434009dfae353709c (patch) | |
| tree | 35eba99c61852865e8c30fd6388c151f7a46d9ba /fs/bcachefs/util.c | |
| parent | bcachefs: convert eytzinger sort to be 1-based (1) (diff) | |
| download | linux-68eb4c5fea4146e060a32d6434009dfae353709c.tar.gz linux-68eb4c5fea4146e060a32d6434009dfae353709c.zip | |
bcachefs: convert eytzinger sort to be 1-based (2)
In this second step, transform the eytzinger indexes i, j, and k in
eytzinger1_sort_r() from 0-based to 1-based. This step looks a bit
messy, but the resulting code is slightly better.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/util.c')
0 files changed, 0 insertions, 0 deletions
