Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libsa Adjust for change to kernel ext2fs headers.



details:   https://anonhg.NetBSD.org/src/rev/cd970e596782
branches:  trunk
changeset: 346788:cd970e596782
user:      rjs <rjs%NetBSD.org@localhost>
date:      Wed Aug 03 09:11:18 2016 +0000

description:
Adjust for change to kernel ext2fs headers.

diffstat:

 sys/lib/libsa/ext2fs.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5bbe241e733b -r cd970e596782 sys/lib/libsa/ext2fs.c
--- a/sys/lib/libsa/ext2fs.c    Wed Aug 03 08:34:21 2016 +0000
+++ b/sys/lib/libsa/ext2fs.c    Wed Aug 03 09:11:18 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ext2fs.c,v 1.20 2014/03/20 03:13:18 christos Exp $     */
+/*     $NetBSD: ext2fs.c,v 1.21 2016/08/03 09:11:18 rjs Exp $  */
 
 /*
  * Copyright (c) 1997 Manuel Bouyer.
@@ -956,7 +956,7 @@
        new->e2di_gen           =       bswap32(old->e2di_gen);
        new->e2di_facl          =       bswap32(old->e2di_facl);
        new->e2di_dacl          =       bswap32(old->e2di_dacl);
-       new->e2di_faddr         =       bswap32(old->e2di_faddr);
+       new->e2di_obso_faddr    =       bswap32(old->e2di_obso_faddr);
        memcpy(&new->e2di_blocks[0], &old->e2di_blocks[0],
            (EXT2FS_NDADDR + EXT2FS_NIADDR) * sizeof(uint32_t));
 }



Home | Main Index | Thread Index | Old Index