aboutsummaryrefslogtreecommitdiffstats
path: root/block/blktrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blktrace.c')
-rw-r--r--block/blktrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blktrace.c b/block/blktrace.c
index 8f5c37b0f80f..12df27693972 100644
--- a/block/blktrace.c
+++ b/block/blktrace.c
@@ -1165,7 +1165,7 @@ static int blk_trace_event_print(struct trace_iterator *iter, int flags)
1165 const u16 what = t->action & ((1 << BLK_TC_SHIFT) - 1); 1165 const u16 what = t->action & ((1 << BLK_TC_SHIFT) - 1);
1166 int ret; 1166 int ret;
1167 1167
1168 if (trace_print_context(iter)) 1168 if (!trace_print_context(iter))
1169 return TRACE_TYPE_PARTIAL_LINE; 1169 return TRACE_TYPE_PARTIAL_LINE;
1170 1170
1171 if (unlikely(what == 0 || what > ARRAY_SIZE(what2act))) 1171 if (unlikely(what == 0 || what > ARRAY_SIZE(what2act)))