aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2012-12-05 20:01:24 +0300
committerLinus Torvalds <[email protected]>2012-12-05 10:32:59 -0800
commit27d7c2a006a81c04fab00b8cd81b99af3b32738d (patch)
treed04b7860b79d70b5c1ebedc964ffa1cc8fee261e /tools/perf/util/scripting-engines/trace-event-python.c
parentdf2fc246c8ee8b6067af1fa55d3bc23107457f61 (diff)
vfs: clear to the end of the buffer on partial buffer reads
READ is zero so the "rw & READ" test is always false. The intended test was "((rw & RW_MASK) == READ)". Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions