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



details:   https://anonhg.NetBSD.org/src/rev/a1b5f6f607d6
branches:  netbsd-1-4
changeset: 470101:a1b5f6f607d6
user:      he <he%NetBSD.org@localhost>
date:      Thu Jan 20 21:10:57 2000 +0000

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

diffs (18 lines):

diff -r da0f3ce947a0 -r a1b5f6f607d6 sys/ufs/lfs/lfs_syscalls.c
--- a/sys/ufs/lfs/lfs_syscalls.c        Thu Jan 20 21:10:03 2000 +0000
+++ b/sys/ufs/lfs/lfs_syscalls.c        Thu Jan 20 21:10:57 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_syscalls.c,v 1.26.2.3 2000/01/15 18:03:46 he Exp $ */
+/*     $NetBSD: lfs_syscalls.c,v 1.26.2.4 2000/01/20 21:10:57 he Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -991,7 +991,7 @@
                        return (error);
                }
                ip->i_din.ffs_din =
-                       *lfs_ifind(ump->um_lfs, ino, (struct dinode *)bp->b_data);
+                       *lfs_ifind(ump->um_lfs, ino, bp);
                brelse(bp);
        }
 



Home | Main Index | Thread Index | Old Index