Fix cmd_fs_usage for disk accounting key sort change
Some checks failed
build / bcachefs-tools-deb (ubuntu-22.04) (push) Has been cancelled
build / bcachefs-tools-deb (ubuntu-24.04) (push) Has been cancelled
build / bcachefs-tools-rpm (push) Has been cancelled
build / bcachefs-tools-msrv (push) Has been cancelled
Nix-Tests / nix-flake-check (push) Has been cancelled

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2025-01-05 20:07:58 -05:00
parent d2bcf425d1
commit db3121cbf9

View File

@ -222,8 +222,6 @@ static int accounting_p_cmp(const void *_l, const void *_r)
struct bpos lp = (*l)->k.p, rp = (*r)->k.p;
bch2_bpos_swab(&lp);
bch2_bpos_swab(&rp);
return bpos_cmp(lp, rp);
}