cifs: convert prefixpath delimiters in cifs_build_path_to_root
authorJeff Layton <jlayton@redhat.com>
Fri, 5 Aug 2011 14:28:01 +0000 (10:28 -0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 5 Aug 2011 14:55:15 +0000 (14:55 +0000)
commitf9e8c45002cacad536b338dfa9e910e341a49c31
treea438f5ded627b892820280335fd69c80c7a831c6
parent0193e072268fe62c4b19ad4b05cd0d4b23c43bb9
cifs: convert prefixpath delimiters in cifs_build_path_to_root

Regression from 2.6.39...

The delimiters in the prefixpath are not being converted based on
whether posix paths are in effect. Fixes:

    https://bugzilla.redhat.com/show_bug.cgi?id=727834

Reported-and-Tested-by: Iain Arnell <iarnell@gmail.com>
Reported-by: Patrick Oltmann <patrick.oltmann@gmx.net>
Cc: Pavel Shilovsky <piastryyy@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/inode.c