Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern indentation and whitespace
details: https://anonhg.NetBSD.org/src/rev/d68377336612
branches: trunk
changeset: 1003443:d68377336612
user: maya <maya%NetBSD.org@localhost>
date: Sun Sep 15 17:36:43 2019 +0000
description:
indentation and whitespace
diffstat:
sys/kern/vfs_cache.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r c6de11c917e8 -r d68377336612 sys/kern/vfs_cache.c
--- a/sys/kern/vfs_cache.c Sun Sep 15 16:58:11 2019 +0000
+++ b/sys/kern/vfs_cache.c Sun Sep 15 17:36:43 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_cache.c,v 1.121 2019/09/13 14:01:33 christos Exp $ */
+/* $NetBSD: vfs_cache.c,v 1.122 2019/09/15 17:36:43 maya Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.121 2019/09/13 14:01:33 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.122 2019/09/15 17:36:43 maya Exp $");
#define __NAMECACHE_PRIVATE
#ifdef _KERNEL_OPT
@@ -883,7 +883,8 @@
ncp = kmem_alloc(sizeof(*ncp) + namelen, KM_SLEEP);
cache_ctor(NULL, ncp, 0);
} else
- ncp = pool_cache_get(namecache_cache, PR_WAITOK);
+ ncp = pool_cache_get(namecache_cache, PR_WAITOK);
+
mutex_enter(namecache_lock);
numcache++;
Home |
Main Index |
Thread Index |
Old Index