diff options
author | Steve French <sfrench@us.ibm.com> | 2008-04-19 01:26:26 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-04-19 01:26:26 +0200 |
commit | 076d8423a98659a92837b07aa494cb74bfefe77c (patch) | |
tree | ed6776db97202bac41f8a1f4ff68188e16373eec /fs/gfs2/lops.h | |
parent | [CIFS] Reserve new proxy cap for WAFS (diff) | |
download | linux-076d8423a98659a92837b07aa494cb74bfefe77c.tar.xz linux-076d8423a98659a92837b07aa494cb74bfefe77c.zip |
[CIFS] Fix UNC path prefix on QueryUnixPathInfo to have correct slash
When a share was in DFS and the server was Unix/Linux, we were sending paths of the form
\\server\share/dir/file
rather than
//server/share/dir/file
There was some discussion between me and jra over whether we should use
/server/share/dir/file
as MS sometimes says - but the documentation for this claims it should be
doubleslash for this type of UNC-like path format and that works, so leaving
it as doubleslash but converting the \ to / in the the //server/share portion.
This gets Samba to now correctly return STATUS_PATH_NOT_COVERED when it is
supposed to (Windows already did since the direction of the slash was not an issue
for them). Still need another minor change to fully enable DFS (need to finish
some chages to SMBGetDFSRefer
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/gfs2/lops.h')
0 files changed, 0 insertions, 0 deletions