linux-alloc-drop-glock-if-we-can-20020731
[openafs.git] / src / afs / LINUX / osi_sleep.c
index ceaf569..caf1799 100644 (file)
@@ -139,7 +139,7 @@ static void afs_addevent(char *event)
     
     AFS_ASSERT_GLOCK();
     hashcode = afs_evhash(event);
-    newp = osi_AllocSmallSpace(sizeof(afs_event_t));
+    newp = osi_linux_alloc(sizeof(afs_event_t), 0);
     afs_evhashcnt++;
     newp->next = afs_evhasht[hashcode];
     afs_evhasht[hashcode] = newp;