cifs: defer close file handles having RH lease
authorBharath SM <bharathsm@microsoft.com>
Wed, 13 Mar 2024 02:21:41 +0000 (21:21 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 14 Mar 2024 18:54:16 +0000 (13:54 -0500)
commitdc528770edb138e26a533f8a77de5c4db18ea7f3
tree1f4cd0ce63b1ece35c9ad3b229fc07fb6b954aaf
parent279d44ceb8a495d287ec563964f2ed04b0d53b0e
cifs: defer close file handles having RH lease

Previously we only deferred closing file handles with RHW
lease. To enhance performance benefits from deferred closes,
we now include handles with RH leases as well.

Signed-off-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/file.c