commit | 496902dc173dead0e5eeba1f2fd4abd9ba6f2da0 | [log] [tgz] |
---|---|---|
author | Ronnie Sahlberg <lsahlber@redhat.com> | Mon Sep 09 15:30:00 2019 +1000 |
committer | Steve French <stfrench@microsoft.com> | Mon Sep 16 11:43:38 2019 -0500 |
tree | 196a00f93a641cb5e1cc4c9981c1e24dcfae66bb | |
parent | 563317ec3083f7e126d7e30821ff8505ac338ee5 [diff] |
cifs: add a helper to find an existing readable handle to a file and convert smb2_query_path_info() to use it. This will eliminate the need for a SMB2_Create when we already have an open handle that can be used. This will also prevent a oplock break in case the other handle holds a lease. Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>