summaryrefslogtreecommitdiff
path: root/sound/aoa/core/alsa.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2024-05-15 04:31:56 +0300
committerJens Axboe <axboe@kernel.dk>2024-05-16 05:14:20 +0300
commit6da6680632792709cecf2b006f2fe3ca7857e791 (patch)
treedc7324c953f3bfa9a9b02d1f48d5370e7f7baaa3 /sound/aoa/core/alsa.c
parentefb905aeb44b0e99c0e6b07865b1885ae0471ebf (diff)
downloadlinux-6da6680632792709cecf2b006f2fe3ca7857e791.tar.xz
blk-cgroup: fix list corruption from resetting io stat
Since commit 3b8cc6298724 ("blk-cgroup: Optimize blkcg_rstat_flush()"), each iostat instance is added to blkcg percpu list, so blkcg_reset_stats() can't reset the stat instance by memset(), otherwise the llist may be corrupted. Fix the issue by only resetting the counter part. Cc: Tejun Heo <tj@kernel.org> Cc: Waiman Long <longman@redhat.com> Cc: Jay Shin <jaeshin@redhat.com> Fixes: 3b8cc6298724 ("blk-cgroup: Optimize blkcg_rstat_flush()") Signed-off-by: Ming Lei <ming.lei@redhat.com> Acked-by: Tejun Heo <tj@kernel.org> Reviewed-by: Waiman Long <longman@redhat.com> Link: https://lore.kernel.org/r/20240515013157.443672-2-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'sound/aoa/core/alsa.c')
0 files changed, 0 insertions, 0 deletions