Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/ufs/lfs Pull up revision 1.27 (requested by perseant):



details:   https://anonhg.NetBSD.org/src/rev/736a5a7db3ab
branches:  netbsd-1-4
changeset: 470052:736a5a7db3ab
user:      he <he%NetBSD.org@localhost>
date:      Sat Jan 15 17:51:09 2000 +0000

description:
Pull up revision 1.27 (requested by perseant):
  Address problems related to using an LFS filesystem as the root
  filesystem, including mknod hangs.  Fixes PR#8172 and PR#9072.

diffstat:

 sys/ufs/lfs/lfs_inode.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a9f5114f25af -r 736a5a7db3ab sys/ufs/lfs/lfs_inode.c
--- a/sys/ufs/lfs/lfs_inode.c   Sat Jan 15 17:50:44 2000 +0000
+++ b/sys/ufs/lfs/lfs_inode.c   Sat Jan 15 17:51:09 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_inode.c,v 1.22.2.3 1999/12/17 23:21:56 he Exp $    */
+/*     $NetBSD: lfs_inode.c,v 1.22.2.4 2000/01/15 17:51:09 he Exp $    */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -168,7 +168,7 @@
                        printf("lfs_update: sleeping on inode %d (dirops)\n",ip->i_number);
 #endif
                        if(fs->lfs_dirops==0)
-                               lfs_flush_fs(vp->v_mount,0);
+                               lfs_flush_fs(vp->v_mount,SEGM_SYNC);
                        else
                                tsleep(&fs->lfs_writer, PRIBIO+1, "lfs_fsync", 0);
                        /* XXX KS - by falling out here, are we writing the vn



Home | Main Index | Thread Index | Old Index