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.39 (requested by perseant):
details: https://anonhg.NetBSD.org/src/rev/da0f3ce947a0
branches: netbsd-1-4
changeset: 470100:da0f3ce947a0
user: he <he%NetBSD.org@localhost>
date: Thu Jan 20 21:10:03 2000 +0000
description:
Pull up revision 1.39 (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_segment.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diffs (23 lines):
diff -r d65964150285 -r da0f3ce947a0 sys/ufs/lfs/lfs_segment.c
--- a/sys/ufs/lfs/lfs_segment.c Thu Jan 20 21:02:03 2000 +0000
+++ b/sys/ufs/lfs/lfs_segment.c Thu Jan 20 21:10:03 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_segment.c,v 1.23.2.9 2000/01/15 18:01:45 he Exp $ */
+/* $NetBSD: lfs_segment.c,v 1.23.2.10 2000/01/20 21:10:03 he Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -439,13 +439,6 @@
inodes_written++;
}
- if(vp->v_flag & VDIROP) {
- --lfs_dirvcount;
- vp->v_flag &= ~VDIROP;
- wakeup(&lfs_dirvcount);
- lfs_vunref(vp);
- }
-
if(lfs_clean_vnhead && only_cleaning)
lfs_vunref_head(vp);
else
Home |
Main Index |
Thread Index |
Old Index