Source-Changes-HG archive

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

[src/trunk]: src/sbin/fsck_lfs Don't need to initialize (one of) the elements...



details:   https://anonhg.NetBSD.org/src/rev/fc725bda16fb
branches:  trunk
changeset: 767224:fc725bda16fb
user:      dholland <dholland%NetBSD.org@localhost>
date:      Tue Jul 12 02:46:03 2011 +0000

description:
Don't need to initialize (one of) the elements now in i_crap; nothing in
here touches that material.

diffstat:

 sbin/fsck_lfs/lfs.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 9ac640f661d5 -r fc725bda16fb sbin/fsck_lfs/lfs.c
--- a/sbin/fsck_lfs/lfs.c       Tue Jul 12 02:22:13 2011 +0000
+++ b/sbin/fsck_lfs/lfs.c       Tue Jul 12 02:46:03 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs.c,v 1.34 2011/06/21 09:36:46 mrg Exp $ */
+/* $NetBSD: lfs.c,v 1.35 2011/07/12 02:46:03 dholland Exp $ */
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -362,7 +362,6 @@
        /* ip->i_vnode = vp; */
        ip->i_number = ino;
        ip->i_lockf = 0;
-       ip->i_diroff = 0;
        ip->i_lfs_effnblks = 0;
        ip->i_flag = 0;
 



Home | Main Index | Thread Index | Old Index