summaryrefslogtreecommitdiff
path: root/sys/fs
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-09-03 06:48:26 +0000
committerchristos <christos@NetBSD.org>2006-09-03 06:48:26 +0000
commit94de7229efc19cdcee1a4baa57d41a20340f8890 (patch)
treea4e80046b52ac0c5329df1df6edd819d9ccda98e /sys/fs
parent0c58aff5f55dd553f9c7b30f770e1dbb85b13680 (diff)
use c99 initializers
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/tmpfs/tmpfs_pool.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/fs/tmpfs/tmpfs_pool.c b/sys/fs/tmpfs/tmpfs_pool.c
index 51dd43ba67b..a25943c70ab 100644
--- a/sys/fs/tmpfs/tmpfs_pool.c
+++ b/sys/fs/tmpfs/tmpfs_pool.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tmpfs_pool.c,v 1.4 2005/12/11 12:24:29 christos Exp $ */
+/* $NetBSD: tmpfs_pool.c,v 1.5 2006/09/03 06:48:26 christos Exp $ */
/*
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tmpfs_pool.c,v 1.4 2005/12/11 12:24:29 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tmpfs_pool.c,v 1.5 2006/09/03 06:48:26 christos Exp $");
#include <sys/param.h>
#include <sys/pool.h>
@@ -109,9 +109,8 @@ extern void pool_page_free_nointr(struct pool *, void *);
* faults if we shared the pools.
*/
struct pool_allocator tmpfs_pool_allocator = {
- tmpfs_pool_page_alloc,
- tmpfs_pool_page_free,
- 0,
+ .pa_alloc = tmpfs_pool_page_alloc,
+ .pa_free = tmpfs_pool_page_free,
};
/* --------------------------------------------------------------------- */