summaryrefslogtreecommitdiff
path: root/scripts/recordmcount.h
diff options
context:
space:
mode:
authorSachin Prabhu <sprabhu@redhat.com>2015-06-16 18:36:17 +0300
committerSteve French <steve.french@primarydata.com>2015-06-29 22:50:22 +0300
commit1dfd18d0571231d030f325bfcd80f5c42a56a53e (patch)
tree09a9a6d2f687562535829346aebe48ecc9d646d2 /scripts/recordmcount.h
parentebb3a9d4ba3babd19c83b96fc88fc9b0d2f7d2d6 (diff)
downloadlinux-1dfd18d0571231d030f325bfcd80f5c42a56a53e.tar.xz
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>
Diffstat (limited to 'scripts/recordmcount.h')
0 files changed, 0 insertions, 0 deletions