aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-07-31 09:40:26 +0200
committerMartin K. Petersen <[email protected]>2021-08-01 13:21:40 -0400
commit5c0f61377b765e650b1bc85298b79add1148c97f (patch)
tree9d8bef0d10805f7b7af415569a9266825260085b /tools/perf/scripts/python/bin/stackcollapse-report
parent1084514ca9aa5b3fcc485b378b92b632918237f4 (diff)
scsi: bsg: Fix commands without data transfer in scsi_bsg_sg_io_fn()
Set ret to 0 after the initial permission checks to avoid leaking -EPERM for commands without data transfer. Link: https://lore.kernel.org/r/[email protected] Fixes: 75ca56409e5b ("scsi: bsg: Move the whole request execution into the SCSI/transport handlers") Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions