projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blk-cgroup: cgroup_rstat_updated() shouldn't be called on cgroup1
[linux-2.6-microblaze.git]
/
include
/
linux
/
blk-cgroup.h
diff --git
a/include/linux/blk-cgroup.h
b/include/linux/blk-cgroup.h
index
48a6673
..
19394c7
100644
(file)
--- a/
include/linux/blk-cgroup.h
+++ b/
include/linux/blk-cgroup.h
@@
-626,7
+626,8
@@
static inline bool blkcg_bio_issue_check(struct request_queue *q,
bis->cur.ios[rwd]++;
u64_stats_update_end(&bis->sync);
- cgroup_rstat_updated(blkg->blkcg->css.cgroup, cpu);
+ if (cgroup_subsys_on_dfl(io_cgrp_subsys))
+ cgroup_rstat_updated(blkg->blkcg->css.cgroup, cpu);
put_cpu();
}