summaryrefslogtreecommitdiffstats
path: root/fs/cifs/ioctl.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2018-10-19 08:58:22 +0200
committerSteve French <stfrench@microsoft.com>2018-10-24 04:16:05 +0200
commit3b7960caceafdfc2cdfe2850487f8d091eb41144 (patch)
treea84583cf449cca8d5db29d3bf0c9be31b7996d68 /fs/cifs/ioctl.c
parentsmb3: do not attempt cifs operation in smb3 query info error path (diff)
downloadlinux-3b7960caceafdfc2cdfe2850487f8d091eb41144.tar.xz
linux-3b7960caceafdfc2cdfe2850487f8d091eb41144.zip
cifs: fallback to older infolevels on findfirst queryinfo retry
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>
Diffstat (limited to 'fs/cifs/ioctl.c')
0 files changed, 0 insertions, 0 deletions