Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs Take away "#ifdef LFS_UBC".
details: https://anonhg.NetBSD.org/src/rev/c85bfe07a0ee
branches: trunk
changeset: 544022:c85bfe07a0ee
user: perseant <perseant%NetBSD.org@localhost>
date: Sat Mar 08 22:14:31 2003 +0000
description:
Take away "#ifdef LFS_UBC".
diffstat:
sys/ufs/lfs/lfs.h | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (23 lines):
diff -r efb3904f9e6d -r c85bfe07a0ee sys/ufs/lfs/lfs.h
--- a/sys/ufs/lfs/lfs.h Sat Mar 08 21:46:04 2003 +0000
+++ b/sys/ufs/lfs/lfs.h Sat Mar 08 22:14:31 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs.h,v 1.55 2003/03/08 02:55:47 perseant Exp $ */
+/* $NetBSD: lfs.h,v 1.56 2003/03/08 22:14:31 perseant Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -286,12 +286,8 @@
* How to find out whether a vnode had dirty buffers or pages,
* to know whether it needs to retain IN_MODIFIED after a write.
*/
-#ifdef LFS_UBC
int lfs_checkifempty(struct vnode *);
-# define VPISEMPTY(vp) lfs_checkifempty(vp)
-#else
-# define VPISEMPTY(vp) ((vp)->v_dirtyblkhd.lh_first == NULL)
-#endif
+#define VPISEMPTY(vp) lfs_checkifempty(vp)
/*
* WRITEINPROG does not use VPISEMPTY because any dirty pages will
* have been given buffer headers, if they are "in progress".
Home |
Main Index |
Thread Index |
Old Index