Module Name:    src
Committed By:   zafer
Date:           Tue Jun 12 20:12:22 UTC 2018

Modified Files:
        src/sbin/fsck_lfs: lfs.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sbin/fsck_lfs/lfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/fsck_lfs/lfs.c
diff -u src/sbin/fsck_lfs/lfs.c:1.73 src/sbin/fsck_lfs/lfs.c:1.74
--- src/sbin/fsck_lfs/lfs.c:1.73	Sat Jun 10 08:13:15 2017
+++ src/sbin/fsck_lfs/lfs.c	Tue Jun 12 20:12:21 2018
@@ -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 @@ lfs_raw_vget(struct lfs * fs, ino_t ino,
 	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 */

Reply via email to