The path check should needs to include the root directory slash
when comparing to the \_._AFS_IOCTL_._ path to detect a pioctl
request.
Reviewed-on: http://gerrit.openafs.org/8488
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit
eca3d56436c16e4634afe1954a2a15424b4ad5f1)
Change-Id: I201179644168cbc09a194612b2faf5bd3a812796
Reviewed-on: http://gerrit.openafs.org/8626
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
* If the query is regarding the special _._AFS_IOCTL_._ file
* a reply must be sent even though the file doesn't exist.
*/
- if (cm_ClientStrCmpI(pathp, CM_IOCTL_FILENAME_NOSLASH_W) == 0)
+ if (cm_ClientStrCmpI(pathp, CM_IOCTL_FILENAME_W) == 0)
{
/* for info level 108, figure out short name */
if (infoLevel == SMB_QUERY_FILE_ALT_NAME_INFO) {