]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Add support for mounting Windows 2008 DFS shares
authorSean Finney <seanius@seanius.net>
Mon, 11 Apr 2011 13:19:31 +0000 (13:19 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 19 May 2011 14:10:54 +0000 (14:10 +0000)
commit7f34662fa91cc830c3974c0b9c247703b6a8c493
tree31105f22f36808917ee218f196fb65f8676b3e4e
parent77f83ac593c13593b1ef95a406813caf5ee4dca5
cifs: Add support for mounting Windows 2008 DFS shares

Windows 2008 CIFS servers do not always return PATH_NOT_COVERED when
attempting to access a DFS share.  Therefore, when checking for remote
shares, unconditionally ask for a DFS referral for the UNC (w/out prepath)
before continuing with previous behavior of attempting to access the UNC +
prepath and checking for PATH_NOT_COVERED.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=31092

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Sean Finney <seanius@seanius.net>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c