summaryrefslogtreecommitdiffstats
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorRohith Surabattula <rohiths@microsoft.com>2021-07-29 07:45:29 +0000
committerSteve French <stfrench@microsoft.com>2021-08-12 11:29:54 -0500
commit41535701da3324b80029cabb501e86c4fafe339d (patch)
treee2e6e814c984cf9620ac6b5cbbb31953ee7bf852 /kernel/compat.c
parent981567bd965329df7e64b13e92a54da816c1e0a4 (diff)
downloadlinux-stable-41535701da3324b80029cabb501e86c4fafe339d.tar.gz
linux-stable-41535701da3324b80029cabb501e86c4fafe339d.tar.bz2
linux-stable-41535701da3324b80029cabb501e86c4fafe339d.zip
cifs: Handle race conditions during rename
When rename is executed on directory which has files for which close is deferred, then rename will fail with EACCES. This patch will try to close all deferred files when EACCES is received and retry rename on a directory. Signed-off-by: Rohith Surabattula <rohiths@microsoft.com> Cc: stable@vger.kernel.org # 5.13 Reviewed-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions