Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs In lfs_fastvget(), initialize i_lfs_effnblks cor...
details: https://anonhg.NetBSD.org/src/rev/892a0d548851
branches: trunk
changeset: 498377:892a0d548851
user: toshii <toshii%NetBSD.org@localhost>
date: Sat Oct 21 13:53:25 2000 +0000
description:
In lfs_fastvget(), initialize i_lfs_effnblks correctly.
diffstat:
sys/ufs/lfs/lfs_syscalls.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 00c669057cda -r 892a0d548851 sys/ufs/lfs/lfs_syscalls.c
--- a/sys/ufs/lfs/lfs_syscalls.c Sat Oct 21 13:51:01 2000 +0000
+++ b/sys/ufs/lfs/lfs_syscalls.c Sat Oct 21 13:53:25 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_syscalls.c,v 1.50 2000/10/20 17:48:05 perseant Exp $ */
+/* $NetBSD: lfs_syscalls.c,v 1.51 2000/10/21 13:53:25 toshii Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -1035,6 +1035,7 @@
brelse(bp);
}
ip->i_ffs_effnlink = ip->i_ffs_nlink;
+ ip->i_lfs_effnblks = ip->i_ffs_blocks;
/*
* Initialize the vnode from the inode, check for aliases. In all
Home |
Main Index |
Thread Index |
Old Index