Source-Changes-HG archive

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

[src/trunk]: src/sbin/fsck_lfs Use daddr_t instead of uint32_t for the in-mem...



details:   https://anonhg.NetBSD.org/src/rev/2f3f6a75fa94
branches:  trunk
changeset: 810962:2f3f6a75fa94
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Oct 03 08:30:02 2015 +0000

description:
Use daddr_t instead of uint32_t for the in-memory copy of the inode
block pointers.

diffstat:

 sbin/fsck_lfs/fsck.h |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 9a1e11bbf14a -r 2f3f6a75fa94 sbin/fsck_lfs/fsck.h
--- a/sbin/fsck_lfs/fsck.h      Sat Oct 03 08:29:48 2015 +0000
+++ b/sbin/fsck_lfs/fsck.h      Sat Oct 03 08:30:02 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fsck.h,v 1.24 2015/10/03 08:29:06 dholland Exp $    */
+/* $NetBSD: fsck.h,v 1.25 2015/10/03 08:30:02 dholland Exp $    */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -150,8 +150,7 @@
        ino_t i_dotdot;         /* inode number of `..' */
        size_t i_isize;         /* size of inode */
        u_int i_numblks;        /* size of block array in bytes */
-       /* XXX ondisk32 */
-       int32_t i_blks[1];      /* actually longer */
+       daddr_t i_blks[1];      /* actually longer */
 }     **inphead, **inpsort;
 
 #ifndef VERBOSE_BLOCKMAP



Home | Main Index | Thread Index | Old Index