aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLars Ellenberg <[email protected]>2012-06-08 12:17:36 +0000
committerPhilipp Reisner <[email protected]>2012-06-12 12:35:19 +0000
commit0d5934e3c258fc5decc4103600c597086fd95a52 (patch)
tree1e9810b23c495ffed5f9d1814ea74535b6013ea5 /tools/perf/util/trace-event-scripting.c
parentdrbd: fix list corruption by failing but already aborted reads (diff)
downloadkernel-0d5934e3c258fc5decc4103600c597086fd95a52.tar.gz
kernel-0d5934e3c258fc5decc4103600c597086fd95a52.zip
drbd: fix null pointer dereference with on-congestion policy when diskless
We must not look at mdev->actlog, unless we have a get_ldev() reference. It also does not make much sense to try to disconnect or pull-ahead of the peer, if we don't have good local data. Only even consider congestion policies, if our local disk is D_UP_TO_DATE. Signed-off-by: Philipp Reisner <[email protected]> Signed-off-by: Lars Ellenberg <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions