bcachefs: Fix rcu_pending for PREEMPT_RT
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 8 Jun 2025 16:17:02 +0000 (12:17 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 12 Jun 2025 03:21:30 +0000 (23:21 -0400)
commit54aacfe3976893ee04582a0bd61967bbee5a7e04
treece1369882da924fec421e812df462672505e75f3
parent082c74411491f8b0d31465fc104b8342e66c4056
bcachefs: Fix rcu_pending for PREEMPT_RT

PREEMPT_RT redefines how standard spinlocks work, so local_irq_save() +
spin_lock() is no longer equivalent to spin_lock_irqsave(). Fortunately,
we don't strictly need to do it that way.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/rcu_pending.c