aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2022-06-08 10:27:50 -0600
committerJens Axboe <axboe@kernel.dk>2022-08-02 17:14:31 -0600
commit78ede6a06f011b47d3c2c9dd5699b05bc3bf2dae (patch)
treeb72950b0760d788bf41606906d76542b95df0203 /tools/perf/scripts/python/flamegraph.py
parentmd/raid5: suspend the array for calls to log_exit() (diff)
downloadlinux-78ede6a06f011b47d3c2c9dd5699b05bc3bf2dae.tar.gz
linux-78ede6a06f011b47d3c2c9dd5699b05bc3bf2dae.zip
md/raid5-cache: Take mddev_lock in r5c_journal_mode_show()
The mddev->lock spinlock doesn't protect against the removal of conf->log in r5l_exit_log() so conf->log may be freed before it is used. To fix this, take the mddev_lock() insteaad of the mddev->lock spinlock. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Song Liu <song@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions