Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ufs __USE a variable for the non-wapbl case
details: https://anonhg.NetBSD.org/src/rev/acea7e79e277
branches: trunk
changeset: 791257:acea7e79e277
user: christos <christos%NetBSD.org@localhost>
date: Sun Nov 10 18:28:08 2013 +0000
description:
__USE a variable for the non-wapbl case
diffstat:
sys/ufs/ufs/ufs_wapbl.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 8a5ae3fc89dd -r acea7e79e277 sys/ufs/ufs/ufs_wapbl.h
--- a/sys/ufs/ufs/ufs_wapbl.h Sun Nov 10 18:27:15 2013 +0000
+++ b/sys/ufs/ufs/ufs_wapbl.h Sun Nov 10 18:28:08 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs_wapbl.h,v 1.7 2011/09/19 11:18:01 gdt Exp $ */
+/* $NetBSD: ufs_wapbl.h,v 1.8 2013/11/10 18:28:08 christos Exp $ */
/*-
* Copyright (c) 2003,2006,2008 The NetBSD Foundation, Inc.
@@ -163,7 +163,7 @@
if (mp->mnt_wapbl) wapbl_register_deallocation(mp->mnt_wapbl, blk, len)
#else /* ! WAPBL */
-#define UFS_WAPBL_BEGIN(mp) 0
+#define UFS_WAPBL_BEGIN(mp) (__USE(mp), 0)
#define UFS_WAPBL_BEGIN1(mp, v1) 0
#define UFS_WAPBL_END(mp) do { } while (0)
#define UFS_WAPBL_END1(mp, v1)
Home |
Main Index |
Thread Index |
Old Index