summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2023-11-17 05:35:23 +0300
committerJens Axboe <axboe@kernel.dk>2023-11-17 20:48:58 +0300
commit35a99d6557cacbc177314735342f77a2dda41872 (patch)
treed1b6782237525cbe86009fcd80ca57ff493b7c21 /.gitignore
parent27b13e209ddca5979847a1b57890e0372c1edcee (diff)
downloadlinux-35a99d6557cacbc177314735342f77a2dda41872.tar.xz
blk-cgroup: avoid to warn !rcu_read_lock_held() in blkg_lookup()
So far, all callers either holds spin lock or rcu read explicitly, and most of the caller has added WARN_ON_ONCE(!rcu_read_lock_held()) or lockdep_assert_held(&disk->queue->queue_lock). Remove WARN_ON_ONCE(!rcu_read_lock_held()) from blkg_lookup() for killing the false positive warning from blkg_conf_prep(). Reported-by: Changhui Zhong <czhong@redhat.com> Fixes: 83462a6c971c ("blkcg: Drop unnecessary RCU read [un]locks from blkg_conf_prep/finish()") Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20231117023527.3188627-3-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions