aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-selectmap.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <[email protected]>2023-02-17 13:35:01 +1000
committerSteve French <[email protected]>2023-02-20 11:48:48 -0600
commit8e843bf38f7be0766642a91523cfa65f2b021a8a (patch)
tree0aa28f605f542d1ccd43e6cdcfba413048e53c01 /drivers/fpga/xilinx-selectmap.c
parent66d45ca1350a3bb8d5f4db8879ccad3ed492337a (diff)
cifs: return a single-use cfid if we did not get a lease
If we did not get a lease we can still return a single use cfid to the caller. The cfid will not have has_lease set and will thus not be shared with any other concurrent users and will be freed immediately when the caller drops the handle. This avoids extra roundtrips for servers that do not support directory leases where they would first fail to get a cfid with a lease and then fallback to try a normal SMB2_open() Signed-off-by: Ronnie Sahlberg <[email protected]> Cc: [email protected] Reviewed-by: Bharath SM <[email protected]> Reviewed-by: Paulo Alcantara (SUSE) <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions