Sachin Prabhu 1dfd18d057 cifs: Unset CIFS_MOUNT_POSIX_PATHS flag when following dfs mounts
In a dfs setup where the client transitions from a server which supports
posix paths to a server which doesn't support posix paths, the flag
CIFS_MOUNT_POSIX_PATHS is not reset. This leads to the wrong directory
separator being used causing smb commands to fail.

Consider the following case where a dfs share on a samba server points
to a share on windows smb server.
 # mount -t cifs -o .. //vm140-31/dfsroot/testwin/
 # ls -l /mnt; touch /mnt/a
 total 0
 touch: cannot touch ‘/mnt/a’: No such file or directory

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Acked-by: Jeff Layton <jlayton@samba.org>
Signed-off-by: Steve French <steve.french@primarydata.com>
2015-06-29 14:50:22 -05:00
..
2015-05-20 13:12:51 -05:00
2014-12-10 17:41:02 -08:00
2015-06-28 21:15:45 -05:00
2013-11-08 05:57:46 +09:00
2015-06-28 21:15:45 -05:00
2015-06-27 20:23:32 -07:00
2014-12-14 14:55:57 -06:00
2007-06-05 18:30:44 +00:00
2015-06-28 21:15:45 -05:00
2012-07-24 10:25:13 -05:00
2013-09-08 14:54:24 -05:00