diff options
author | Rohith Surabattula <rohiths@microsoft.com> | 2021-08-09 09:32:46 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-08-12 11:29:58 -0500 |
commit | 9e992755be8f2d458a0bcbefd19e493483c1dba2 (patch) | |
tree | f2d011d7355544948986ce55a2797ec494526906 /lib/parser.c | |
parent | 41535701da3324b80029cabb501e86c4fafe339d (diff) | |
download | lwn-9e992755be8f2d458a0bcbefd19e493483c1dba2.tar.gz lwn-9e992755be8f2d458a0bcbefd19e493483c1dba2.zip |
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: Rohith Surabattula <rohiths@microsoft.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Cc: stable@vger.kernel.org # 5.13
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions