diff options
Diffstat (limited to 'libbcachefs/alloc.h')
-rw-r--r-- | libbcachefs/alloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/alloc.h b/libbcachefs/alloc.h index 1b9d960b..3bd765b6 100644 --- a/libbcachefs/alloc.h +++ b/libbcachefs/alloc.h @@ -83,7 +83,7 @@ static inline void bch2_wake_allocator(struct bch_dev *ca) struct task_struct *p; rcu_read_lock(); - if ((p = ACCESS_ONCE(ca->alloc_thread))) + if ((p = READ_ONCE(ca->alloc_thread))) wake_up_process(p); rcu_read_unlock(); } |