aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMisono Tomohiro <[email protected]>2018-08-24 02:35:28 +0000
committerDavid Sterba <[email protected]>2018-08-24 12:09:43 +0000
commitb6fdfbff078975c53383fc146a2a54985eab6b6d (patch)
tree325b31756fd29ed4f2a38f3e74ee5c07829edb98 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentbtrfs: use after free in btrfs_quota_enable (diff)
downloadkernel-b6fdfbff078975c53383fc146a2a54985eab6b6d.tar.gz
kernel-b6fdfbff078975c53383fc146a2a54985eab6b6d.zip
btrfs: Fix suspicious RCU usage warning in btrfs_debug_in_rcu
Commit 672d599041c8 ("btrfs: Use wrapper macro for rcu string to remove duplicate code") replaces some open coded RCU string handling with macro. It turns out that btrfs_debug_in_rcu() is used for the first time and the macro lacks lock/unlock of RCU string for non-debug case (i.e. when the message is not printed), leading to suspicious RCU usage warning when CONFIG_PROVE_RCU is on. Fix this by adding a wrapper to call lock/unlock for the non-debug case too. Fixes: 672d599041c8 ("btrfs: Use wrapper macro for rcu string to remove duplicate code") Reported-by: David Howells <[email protected]> Tested-by: David Howells <[email protected]> Signed-off-by: Misono Tomohiro <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions