bcachefs: Fix a pcpu var splat
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 7 Oct 2021 22:18:01 +0000 (18:18 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:13 +0000 (17:09 -0400)
commit107fe5af562303cda985c6bb72d36dbcd2076f06
tree65808601ad43b6f5f4b51451cc0da882197de973
parent4b09ef12e76c3c0e37ecce6c1e33243d65026398
bcachefs: Fix a pcpu var splat

this_cpu_ptr() emits a warning when used without preemption disabled -
harmless in this case, as we have other locking where
bch2_acc_percpu_u64s() is used.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/util.c