cifs: switch build_path_from_dentry() to using dentry_path_raw()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 6 Mar 2021 02:53:48 +0000 (21:53 -0500)
committerSteve French <stfrench@microsoft.com>
Sun, 25 Apr 2021 21:28:23 +0000 (16:28 -0500)
commit991e72eb0e99764219865b9a3a07328695148e14
tree824a82b7a321f1a1b88de01222f87f6a77b721e3
parentf6a9bc336b600e1266e6eebb0972d75d5b93aea9
cifs: switch build_path_from_dentry() to using dentry_path_raw()

The cost is that we might need to flip '/' to '\\' in more than
just the prefix.  Needs profiling, but I suspect that we won't
get slowdown on that.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/dir.c