Do not perform a Cell Search when the name matches the SMB IOCTL filename.
This is a special name and is not to be treated as a cell. The failure
to find the name produces DNS queries as well as disk access.
int ttl;
char fullname[200]="";
+ if (!strcmp(namep,SMB_IOCTL_FILENAME_NOSLASH))
+ return NULL;
+
lock_ObtainWrite(&cm_cellLock);
for (cp = cm_allCellsp; cp; cp=cp->nextp) {
if (strcmp(namep, cp->namep) == 0) {
/* magic file name for ioctl opens */
#define SMB_IOCTL_FILENAME "\\_._AFS_IOCTL_._" /* double backslashes for C compiler */
+#define SMB_IOCTL_FILENAME_NOSLASH "_._AFS_IOCTL_._"
/* max parms for ioctl, in either direction */
#define SMB_IOCTL_MAXDATA 8192