Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/ufs/lfs Pullup 1.51 [toshii]:



details:   https://anonhg.NetBSD.org/src/rev/9c0c7a7b6464
branches:  netbsd-1-5
changeset: 490067:9c0c7a7b6464
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Nov 01 03:53:38 2000 +0000

description:
Pullup 1.51 [toshii]:
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 4622aff317d2 -r 9c0c7a7b6464 sys/ufs/lfs/lfs_syscalls.c
--- a/sys/ufs/lfs/lfs_syscalls.c        Wed Nov 01 03:51:28 2000 +0000
+++ b/sys/ufs/lfs/lfs_syscalls.c        Wed Nov 01 03:53:38 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_syscalls.c,v 1.41.4.4 2000/09/14 18:50:19 perseant Exp $   */
+/*     $NetBSD: lfs_syscalls.c,v 1.41.4.5 2000/11/01 03:53:38 tv Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -1031,6 +1031,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