summaryrefslogtreecommitdiffstats
path: root/kernel/task_work.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2018-10-19 01:58:22 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-20 09:16:02 +0200
commite9603cffb1ca7699b22cec844d4092a7a2e0e416 (patch)
treeab4e5fc19388ebd81ab4b4a9b47193a8723e4562 /kernel/task_work.c
parentfc34758d4af6a30213d887cb6978fcce65ee7b62 (diff)
downloadlinux-stable-e9603cffb1ca7699b22cec844d4092a7a2e0e416.tar.gz
linux-stable-e9603cffb1ca7699b22cec844d4092a7a2e0e416.tar.bz2
linux-stable-e9603cffb1ca7699b22cec844d4092a7a2e0e416.zip
cifs: fallback to older infolevels on findfirst queryinfo retry
[ Upstream commit 3b7960caceafdfc2cdfe2850487f8d091eb41144 ] In cases where queryinfo fails, we have cases in cifs (vers=1.0) where with backupuid mounts we retry the query info with findfirst. This doesn't work to some NetApp servers which don't support WindowsXP (and later) infolevel 261 (SMB_FIND_FILE_ID_FULL_DIR_INFO) so in this case use other info levels (in this case it will usually be level 257, SMB_FIND_FILE_DIRECTORY_INFO). (Also fixes some indentation) See kernel bugzilla 201435 Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions