Page MenuHomeFreeBSD

D24652.diff
No OneTemporary

D24652.diff

Index: head/sys/kern/uipc_shm.c
===================================================================
--- head/sys/kern/uipc_shm.c
+++ head/sys/kern/uipc_shm.c
@@ -684,11 +684,6 @@
return (error);
}
-/*
- * Dictionary management. We maintain an in-kernel dictionary to map
- * paths to shmfd objects. We use the FNV hash on the path to store
- * the mappings in a hash table.
- */
static void
shm_init(void *arg)
{
@@ -702,6 +697,11 @@
}
SYSINIT(shm_init, SI_SUB_SYSV_SHM, SI_ORDER_ANY, shm_init, NULL);
+/*
+ * Dictionary management. We maintain an in-kernel dictionary to map
+ * paths to shmfd objects. We use the FNV hash on the path to store
+ * the mappings in a hash table.
+ */
static struct shmfd *
shm_lookup(char *path, Fnv32_t fnv)
{

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 21, 4:25 PM (22 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14738979
Default Alt Text
D24652.diff (763 B)

Event Timeline