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



details:   https://anonhg.NetBSD.org/src/rev/0c1ad321d407
branches:  netbsd-1-4
changeset: 470098:0c1ad321d407
user:      he <he%NetBSD.org@localhost>
date:      Thu Jan 20 21:01:33 2000 +0000

description:
Pull up revision 1.16 (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_extern.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b6c506518f69 -r 0c1ad321d407 sys/ufs/lfs/lfs_extern.h
--- a/sys/ufs/lfs/lfs_extern.h  Thu Jan 20 21:01:11 2000 +0000
+++ b/sys/ufs/lfs/lfs_extern.h  Thu Jan 20 21:01:33 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_extern.h,v 1.13.2.1 1999/12/17 23:21:30 he Exp $   */
+/*     $NetBSD: lfs_extern.h,v 1.13.2.2 2000/01/20 21:01:33 he Exp $   */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -135,7 +135,7 @@
 
 /* lfs_inode.c */
 void lfs_init __P((void));
-struct dinode *lfs_ifind __P((struct lfs *, ino_t, struct dinode *));
+struct dinode *lfs_ifind __P((struct lfs *, ino_t, struct buf *));
 
 /* lfs_segment.c */
 void lfs_imtime __P((struct lfs *));



Home | Main Index | Thread Index | Old Index