diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-01-24 17:54:51 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:15 -0400 |
commit | 3ccc5c50f29fb6934fb71e12983f1f2beabe29b9 (patch) | |
tree | c2c01b1592b4a0420e1c525d2fc3b8d4b933188d /fs/bcachefs/replicas.c | |
parent | 2c5af169f72c1018e83b79ac82ffe387534910e8 (diff) | |
download | lwn-3ccc5c50f29fb6934fb71e12983f1f2beabe29b9.tar.gz lwn-3ccc5c50f29fb6934fb71e12983f1f2beabe29b9.zip |
bcachefs: Write out fs usage
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/replicas.c')
-rw-r--r-- | fs/bcachefs/replicas.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/bcachefs/replicas.c b/fs/bcachefs/replicas.c index 991d409b6a86..8495cac29a14 100644 --- a/fs/bcachefs/replicas.c +++ b/fs/bcachefs/replicas.c @@ -30,11 +30,6 @@ static void replicas_entry_sort(struct bch_replicas_entry *e) bubble_sort(e->devs, e->nr_devs, u8_cmp); } -#define for_each_cpu_replicas_entry(_r, _i) \ - for (_i = (_r)->entries; \ - (void *) (_i) < (void *) (_r)->entries + (_r)->nr * (_r)->entry_size;\ - _i = (void *) (_i) + (_r)->entry_size) - static void bch2_cpu_replicas_sort(struct bch_replicas_cpu *r) { eytzinger0_sort(r->entries, r->nr, r->entry_size, memcmp, NULL); |