Skip to content
Commit 9e992755 authored by Rohith Surabattula's avatar Rohith Surabattula Committed by Steve French
Browse files

cifs: Call close synchronously during unlink/rename/lease break.



During unlink/rename/lease break, deferred work for close is
scheduled immediately but in an asynchronous manner which might
lead to race with actual(unlink/rename) commands.

This change will schedule close synchronously which will avoid
the race conditions with other commands.

Signed-off-by: default avatarRohith Surabattula <rohiths@microsoft.com>
Reviewed-by: default avatarShyam Prasad N <sprasad@microsoft.com>
Cc: stable@vger.kernel.org # 5.13
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 41535701
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment