add lfs_flush routine, just a hack until Kirk's done
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 1 Jan 1992 07:20:57 +0000 (23:20 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 1 Jan 1992 07:20:57 +0000 (23:20 -0800)
SCCS-vsn: sys/kern/vfs_bio.c 7.44
SCCS-vsn: sys/kern/vfs_cluster.c 7.44

usr/src/sys/kern/vfs_bio.c
usr/src/sys/kern/vfs_cluster.c

index 765af82..642d1f9 100644 (file)
@@ -6,7 +6,7 @@
  * Use and redistribution is subject to the Berkeley Software License
  * Agreement and your Software Agreement with AT&T (Western Electric).
  *
  * Use and redistribution is subject to the Berkeley Software License
  * Agreement and your Software Agreement with AT&T (Western Electric).
  *
- *     @(#)vfs_bio.c   7.43 (Berkeley) %G%
+ *     @(#)vfs_bio.c   7.44 (Berkeley) %G%
  */
 
 #include <sys/param.h>
  */
 
 #include <sys/param.h>
@@ -527,6 +527,9 @@ getnewbuf()
        register struct ucred *cred;
        int s;
 
        register struct ucred *cred;
        int s;
 
+#ifdef LFS
+       lfs_flush();
+#endif
 loop:
        s = splbio();
        for (dp = &bfreelist[BQ_AGE]; dp > bfreelist; dp--)
 loop:
        s = splbio();
        for (dp = &bfreelist[BQ_AGE]; dp > bfreelist; dp--)
index 41d0b2f..25b4b78 100644 (file)
@@ -6,7 +6,7 @@
  * Use and redistribution is subject to the Berkeley Software License
  * Agreement and your Software Agreement with AT&T (Western Electric).
  *
  * Use and redistribution is subject to the Berkeley Software License
  * Agreement and your Software Agreement with AT&T (Western Electric).
  *
- *     @(#)vfs_cluster.c       7.43 (Berkeley) %G%
+ *     @(#)vfs_cluster.c       7.44 (Berkeley) %G%
  */
 
 #include <sys/param.h>
  */
 
 #include <sys/param.h>
@@ -527,6 +527,9 @@ getnewbuf()
        register struct ucred *cred;
        int s;
 
        register struct ucred *cred;
        int s;
 
+#ifdef LFS
+       lfs_flush();
+#endif
 loop:
        s = splbio();
        for (dp = &bfreelist[BQ_AGE]; dp > bfreelist; dp--)
 loop:
        s = splbio();
        for (dp = &bfreelist[BQ_AGE]; dp > bfreelist; dp--)