aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorYu Kuai <[email protected]>2023-02-02 21:49:13 +0800
committerJens Axboe <[email protected]>2023-02-07 10:20:59 -0700
commitf37bf75ca73d523ebaa7ceb44c45d8ecd05374fe (patch)
tree20f48f05fc691267c0e6df9e2665b23ef2f960bb /lib/test_fortify/write_overflow-memcpy.c
parent455944e4e439efc280da5f59ca6f5b014ac7b242 (diff)
block, bfq: cleanup 'bfqg->online'
After commit dfd6200a0954 ("blk-cgroup: support to track if policy is online"), there is no need to do this again in bfq. However, 'pd->online' is not protected by 'bfqd->lock', in order to make sure bfq won't see that 'pd->online' is still set after bfq_pd_offline(), clear it before bfq_pd_offline() is called. This is fine because other polices doesn't use 'pd->online' and bfq_pd_offline() will move active bfqq to root cgroup anyway. Signed-off-by: Yu Kuai <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions