[CIFS] Add nodfs mount option
authorSteve French <sfrench@us.ibm.com>
Thu, 16 Oct 2008 18:35:21 +0000 (18:35 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 16 Oct 2008 18:35:21 +0000 (18:35 +0000)
commit2c1b861539c15491593625920058e06452cd3747
tree0ba78f807ff7d3eba8174462f6bde28f8e0dc987
parent7591103c08abade60aeddb432ed0686ddd0de1c6
[CIFS] Add nodfs mount option
Older samba server (eg. 3.0.24 from Debian etch) don't work correctly,
if DFS paths are used. Such server claim that they support DFS, but fail
to process some requests with DFS paths. Starting with Linux 2.6.26,
the cifs clients starts sending DFS paths in such situations, rendering
it unuseable with older samba servers.

The nodfs mount options forces a share to be used with non DFS paths,
even if the server claims, that it supports it.

Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Acked-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Igor Mammedov <niallain@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/README
fs/cifs/connect.c