Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/lfs remove unnecessary externs of lfs_do_flush.



details:   https://anonhg.NetBSD.org/src/rev/bcaab5f667b3
branches:  trunk
changeset: 552285:bcaab5f667b3
user:      yamt <yamt%NetBSD.org@localhost>
date:      Tue Sep 23 05:26:12 2003 +0000

description:
remove unnecessary externs of lfs_do_flush.

diffstat:

 sys/ufs/lfs/lfs_bio.c   |  5 ++---
 sys/ufs/lfs/lfs_vnops.c |  5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r 6ea60393c19a -r bcaab5f667b3 sys/ufs/lfs/lfs_bio.c
--- a/sys/ufs/lfs/lfs_bio.c     Tue Sep 23 03:55:59 2003 +0000
+++ b/sys/ufs/lfs/lfs_bio.c     Tue Sep 23 05:26:12 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_bio.c,v 1.73 2003/09/07 11:53:58 yamt Exp $        */
+/*     $NetBSD: lfs_bio.c,v 1.74 2003/09/23 05:26:12 yamt Exp $        */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_bio.c,v 1.73 2003/09/07 11:53:58 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_bio.c,v 1.74 2003/09/23 05:26:12 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -110,7 +110,6 @@
 struct simplelock lfs_subsys_lock = SIMPLELOCK_INITIALIZER;
 
 extern int lfs_dostats;
-extern int lfs_do_flush;
 
 /*
  * reserved number/bytes of locked buffers
diff -r 6ea60393c19a -r bcaab5f667b3 sys/ufs/lfs/lfs_vnops.c
--- a/sys/ufs/lfs/lfs_vnops.c   Tue Sep 23 03:55:59 2003 +0000
+++ b/sys/ufs/lfs/lfs_vnops.c   Tue Sep 23 05:26:12 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_vnops.c,v 1.115 2003/09/20 17:51:55 yamt Exp $     */
+/*     $NetBSD: lfs_vnops.c,v 1.116 2003/09/23 05:26:13 yamt Exp $     */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.115 2003/09/20 17:51:55 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.116 2003/09/23 05:26:13 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -366,7 +366,6 @@
 #define        SET_DIROP(vp)           SET_DIROP2((vp), NULL)
 #define        SET_DIROP2(vp, vp2)     lfs_set_dirop((vp), (vp2))
 static int lfs_set_dirop(struct vnode *, struct vnode *);
-extern int lfs_do_flush;
 
 #define        NRESERVE(fs)    (btofsb(fs, (NIADDR + 3 + (2 * NIADDR + 3)) << fs->lfs_bshift))
 



Home | Main Index | Thread Index | Old Index