mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-01-22 00:04:31 +03:00
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
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:
parent
d2bcf425d1
commit
db3121cbf9
@ -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;
|
struct bpos lp = (*l)->k.p, rp = (*r)->k.p;
|
||||||
|
|
||||||
bch2_bpos_swab(&lp);
|
|
||||||
bch2_bpos_swab(&rp);
|
|
||||||
return bpos_cmp(lp, rp);
|
return bpos_cmp(lp, rp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user