]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit737a20f8b4b90567a64f6a7cea6424ee79baeaf9
tree824a82b7a321f1a1b88de01222f87f6a77b721e3
parentf06aa3ddfb16a2544425af168f56c406067ee732
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