aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorAdam McCoy <[email protected]>2020-05-13 11:53:30 +0000
committerSteve French <[email protected]>2020-05-14 22:47:01 +0000
commita48137996063d22ffba77e077425f49873856ca5 (patch)
tree0ea55985df6a5836586ceaee78db68b026523f26 /tools/perf/scripts/python/intel-pt-events.py
parentcifs: Fix null pointer check in cifs_read (diff)
downloadkernel-a48137996063d22ffba77e077425f49873856ca5.tar.gz
kernel-a48137996063d22ffba77e077425f49873856ca5.zip
cifs: fix leaked reference on requeued write
Failed async writes that are requeued may not clean up a refcount on the file, which can result in a leaked open. This scenario arises very reliably when using persistent handles and a reconnect occurs while writing. cifs_writev_requeue only releases the reference if the write fails (rc != 0). The server->ops->async_writev operation will take its own reference, so the initial reference can always be released. Signed-off-by: Adam McCoy <[email protected]> Signed-off-by: Steve French <[email protected]> CC: Stable <[email protected]> Reviewed-by: Pavel Shilovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions