Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ext2fs do not bswap fragment address, support in ext...
details: https://anonhg.NetBSD.org/src/rev/3b34a1fb3cd2
branches: trunk
changeset: 346781:3b34a1fb3cd2
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Tue Aug 02 17:24:24 2016 +0000
description:
do not bswap fragment address, support in ext* for them was never actually implemented in linux kernels
diffstat:
sys/ufs/ext2fs/ext2fs_bswap.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r fd13891b8e25 -r 3b34a1fb3cd2 sys/ufs/ext2fs/ext2fs_bswap.c
--- a/sys/ufs/ext2fs/ext2fs_bswap.c Tue Aug 02 15:56:09 2016 +0000
+++ b/sys/ufs/ext2fs/ext2fs_bswap.c Tue Aug 02 17:24:24 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ext2fs_bswap.c,v 1.19 2013/01/22 09:39:15 dholland Exp $ */
+/* $NetBSD: ext2fs_bswap.c,v 1.20 2016/08/02 17:24:24 jdolecek Exp $ */
/*
* Copyright (c) 1997 Manuel Bouyer.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ext2fs_bswap.c,v 1.19 2013/01/22 09:39:15 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ext2fs_bswap.c,v 1.20 2016/08/02 17:24:24 jdolecek Exp $");
#include <sys/types.h>
#include <ufs/ext2fs/ext2fs.h>
@@ -113,7 +113,6 @@
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_nblock_high = bswap16(old->e2di_nblock_high);
new->e2di_facl_high = bswap16(old->e2di_facl_high);
new->e2di_uid_high = bswap16(old->e2di_uid_high);
Home |
Main Index |
Thread Index |
Old Index