}
+/*
+ *-----------------------------------------------------------------------------
+ *
+ * HgfsSearchIsBaseNameSpace --
+ *
+ * Check if the search is the base of our name space, i.e. the dirents are
+ * the shares themselves.
+ *
+ * Results:
+ * TRUE if the search is the base of the name space, FALSE otherwise.
+ *
+ * Side effects:
+ * None
+ *
+ *-----------------------------------------------------------------------------
+ */
+
+static Bool
+HgfsSearchIsBaseNameSpace(HgfsSearch const *search) // IN
+{
+ ASSERT(search);
+
+ return search->type == DIRECTORY_SEARCH_TYPE_BASE;
+}
+
+
/*
*-----------------------------------------------------------------------------
*
continue;
}
+ if (HgfsSearchIsBaseNameSpace(&session->searchArray[i])) {
+ /* Skip search of the base name space. Maybe stale but it is okay. */
+ continue;
+ }
+
handle = HgfsSearch2SearchHandle(&session->searchArray[i]);
LOG(4, ("%s: Examining search (%s)\n", __FUNCTION__,
session->searchArray[i].utf8Dir));