diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-05-17 12:40:30 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-05-17 20:51:14 +0200 |
commit | 221d1d797202984cb874e3ed9f1388593d34ee22 (patch) | |
tree | e86b9b3b4b54806b769de8777add5b52e73cf00f /fs/pnode.h | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 (diff) | |
download | linux-221d1d797202984cb874e3ed9f1388593d34ee22.tar.xz linux-221d1d797202984cb874e3ed9f1388593d34ee22.zip |
cifs: add fallback in is_path_accessible for old servers
The is_path_accessible check uses a QPathInfo call, which isn't
supported by ancient win9x era servers. Fall back to an older
SMBQueryInfo call if it fails with the magic error codes.
Cc: stable@kernel.org
Reported-and-Tested-by: Sandro Bonazzola <sandro.bonazzola@gmail.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/pnode.h')
0 files changed, 0 insertions, 0 deletions