Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/tmpfs Minor correction to previous.
details: https://anonhg.NetBSD.org/src/rev/3dec110ee6b3
branches: trunk
changeset: 932927:3dec110ee6b3
user: ad <ad%NetBSD.org@localhost>
date: Sun May 17 19:43:31 2020 +0000
description:
Minor correction to previous.
diffstat:
sys/fs/tmpfs/tmpfs_vnops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d6e91ce71ae0 -r 3dec110ee6b3 sys/fs/tmpfs/tmpfs_vnops.c
--- a/sys/fs/tmpfs/tmpfs_vnops.c Sun May 17 19:39:15 2020 +0000
+++ b/sys/fs/tmpfs/tmpfs_vnops.c Sun May 17 19:43:31 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tmpfs_vnops.c,v 1.139 2020/05/17 19:39:15 ad Exp $ */
+/* $NetBSD: tmpfs_vnops.c,v 1.140 2020/05/17 19:43:31 ad Exp $ */
/*
* Copyright (c) 2005, 2006, 2007, 2020 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tmpfs_vnops.c,v 1.139 2020/05/17 19:39:15 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tmpfs_vnops.c,v 1.140 2020/05/17 19:43:31 ad Exp $");
#include <sys/param.h>
#include <sys/dirent.h>
@@ -1201,7 +1201,7 @@
* VI_DEADCHECK is set with vmobjlock held.
*/
iflag = atomic_load_relaxed(&vp->v_iflag);
- if (__predict_false((iflag & VI_DEADCHECK) != 0) {
+ if (__predict_false((iflag & VI_DEADCHECK) != 0)) {
mutex_enter(vp->v_interlock);
error = vdead_check(vp, VDEAD_NOWAIT);
mutex_exit(vp->v_interlock);
Home |
Main Index |
Thread Index |
Old Index