Skip to content
Commit 77c570a1 authored by Fanjun Kong's avatar Fanjun Kong Committed by Jens Axboe
Browse files

blk-cgroup: Remove unnecessary rcu_read_lock/unlock()



spin_lock_irq/spin_unlock_irq contains preempt_disable/enable().
Which can serve as RCU read-side critical region, so remove
rcu_read_lock/unlock().

Signed-off-by: default avatarFanjun Kong <bh1scw@gmail.com>
Reviewed-by: default avatarMuchun Song <songmuchun@bytedance.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220516173930.159535-1-bh1scw@gmail.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 3607849d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment