From: Jeff Layton Date: Tue, 17 May 2011 10:40:30 +0000 (-0400) Subject: cifs: add fallback in is_path_accessible for old servers X-Git-Tag: v2.6.39~8^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=221d1d797202984cb874e3ed9f1388593d34ee22;p=pandora-kernel.git 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 Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed