Source-Changes-HG archive

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

[src/trunk]: src/sbin/fsck_lfs Remove duplicate assignments.



details:   https://anonhg.NetBSD.org/src/rev/6c8d53f63781
branches:  trunk
changeset: 833131:6c8d53f63781
user:      zafer <zafer%NetBSD.org@localhost>
date:      Tue Jun 12 20:12:21 2018 +0000

description:
Remove duplicate assignments.
Fixes PR bin/51512 by Jose Luis Rodriguez Garcia

diffstat:

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

diffs (19 lines):

diff -r 1ef279eb67bf -r 6c8d53f63781 sbin/fsck_lfs/lfs.c
--- a/sbin/fsck_lfs/lfs.c       Tue Jun 12 19:35:00 2018 +0000
+++ b/sbin/fsck_lfs/lfs.c       Tue Jun 12 20:12:21 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs.c,v 1.73 2017/06/10 08:13:15 pgoyette Exp $ */
+/* $NetBSD: lfs.c,v 1.74 2018/06/12 20:12:21 zafer Exp $ */
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -363,9 +363,7 @@
        ip->inode_ext.lfs = ecalloc(1, sizeof(*ip->inode_ext.lfs));
        vp->v_data = ip;
        /* ip->i_vnode = vp; */
-       ip->i_number = ino;
        ip->i_lockf = 0;
-       ip->i_lfs_effnblks = 0;
        ip->i_state = 0;
 
        /* Load inode block and find inode */



Home | Main Index | Thread Index | Old Index