commit | 221d1d797202984cb874e3ed9f1388593d34ee22 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Tue May 17 06:40:30 2011 -0400 |
committer | Steve French <sfrench@us.ibm.com> | Tue May 17 18:51:14 2011 +0000 |
tree | e86b9b3b4b54806b769de8777add5b52e73cf00f | |
parent | c1d10d18c542278b7fbc413c289d3cb6219da6b3 [diff] |
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>