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.20 (requested by perseant):



details:   https://anonhg.NetBSD.org/src/rev/268b1ac3c662
branches:  netbsd-1-4
changeset: 470096:268b1ac3c662
user:      he <he%NetBSD.org@localhost>
date:      Thu Jan 20 21:00:49 2000 +0000

description:
Pull up revision 1.20 (requested by perseant):
  Files removed (through unlink, rmdir) are now really removed, though the
  removal is postponed until the dirop is complete to ensure validity of
  the filesystem through a crash.  Use a separate per-fs lock, instead of
  ufs_hashlock, to protect the inode free list.  Change calling semantics
  of lfs_ifind, to give better error reporting:  If fed a struct buf, it
  can report the block number of the offending inode block as well as the
  inode number.

diffstat:

 sys/ufs/lfs/lfs.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 64ff62a7b7c7 -r 268b1ac3c662 sys/ufs/lfs/lfs.h
--- a/sys/ufs/lfs/lfs.h Thu Jan 20 20:49:43 2000 +0000
+++ b/sys/ufs/lfs/lfs.h Thu Jan 20 21:00:49 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs.h,v 1.14.2.3 1999/12/17 23:53:17 he Exp $  */
+/*     $NetBSD: lfs.h,v 1.14.2.4 2000/01/20 21:00:49 he Exp $  */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -315,6 +315,7 @@
 #endif
        struct vnode *lfs_flushvp;      /* vnode being flushed */
        u_int32_t lfs_diropwait;        /* # procs waiting on dirop flush */
+       struct lock lfs_freelock;
 };
 
 /*



Home | Main Index | Thread Index | Old Index