summaryrefslogtreecommitdiff
path: root/block/blk-cgroup-rwstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-cgroup-rwstat.c')
-rw-r--r--block/blk-cgroup-rwstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-cgroup-rwstat.c b/block/blk-cgroup-rwstat.c
index b8b8c82e667a..3304e841df7c 100644
--- a/block/blk-cgroup-rwstat.c
+++ b/block/blk-cgroup-rwstat.c
@@ -107,7 +107,7 @@ void blkg_rwstat_recursive_sum(struct blkcg_gq *blkg, struct blkcg_policy *pol,
struct cgroup_subsys_state *pos_css;
unsigned int i;
- lockdep_assert_held(&blkg->disk->queue->queue_lock);
+ lockdep_assert_held(&blkg->q->queue_lock);
memset(sum, 0, sizeof(*sum));
rcu_read_lock();