summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2017-08-09 08:56:52 +0300
committerShaohua Li <shli@fb.com>2017-08-25 20:21:46 +0300
commita72cbf83b0cb2368568d4e78cf1687079aad4d25 (patch)
treedb55f2260db6cb8f0bff001767148adaddda81fb /tools/perf/scripts/python/call-graph-from-postgresql.py
parent26e13043b7ea14c0b038f3f5a4af0d5cdda9e95f (diff)
downloadlinux-a72cbf83b0cb2368568d4e78cf1687079aad4d25.tar.xz
md/r5cache: call mddev_lock/unlock() in r5c_journal_mode_show
In r5c_journal_mode_show(), it is necessary to call mddev_lock() before accessing conf and conf->log. Otherwise, the conf->log may change (and become NULL). Signed-off-by: Song Liu <songliubraving@fb.com> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions