aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorAkshat Aranya <[email protected]>2011-01-14 16:00:47 +0000
committerLinus Torvalds <[email protected]>2011-01-14 09:23:36 -0800
commitba28b93a5227cc69ec811507f7d85ac25fa20fe2 (patch)
tree1ae3a8d6b19528277f5a622705b633a43f5218b8 /tools/perf/util/trace-event-scripting.c
parentacda4721ae876dedab3fef04bbd8020bfa67ff0a (diff)
FS-Cache: Fix operation handling
fscache_submit_exclusive_op() adds an operation to the pending list if other operations are pending. Fix the check for pending ops as n_ops must be greater than 0 at the point it is checked as it is incremented immediately before under lock. Signed-off-by: Akshat Aranya <[email protected]> Signed-off-by: David Howells <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions