summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2023-02-17 06:35:00 +0300
committerSteve French <stfrench@microsoft.com>2023-02-20 20:48:48 +0300
commit66d45ca1350a3bb8d5f4db8879ccad3ed492337a (patch)
treee222a80b7c14e815b6c5240836e2987d1dd815ef /tools/perf/scripts/python/task-analyzer.py
parent35235e19b393b54db0e0d7c424d658ba45f20468 (diff)
downloadlinux-66d45ca1350a3bb8d5f4db8879ccad3ed492337a.tar.xz
cifs: Check the lease context if we actually got a lease
Some servers may return that we got a lease in rsp->OplockLevel but then in the lease context contradict this and say we got no lease at all. Thus we need to check the context if we have a lease. Additionally, If we do not get a lease we need to make sure we close the handle before we return an error to the caller. Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Cc: stable@vger.kernel.org Reviewed-by: Bharath SM <bharathsm@microsoft.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions