Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs Remove no longer needed explicit 32->64 sign ext...
details: https://anonhg.NetBSD.org/src/rev/2d334dc74240
branches: trunk
changeset: 340920:2d334dc74240
user: dholland <dholland%NetBSD.org@localhost>
date: Sat Oct 10 22:33:57 2015 +0000
description:
Remove no longer needed explicit 32->64 sign extension.
This is the last 32-bit-on-disk item among those that were either
already tagged or readily discoverable.
diffstat:
sys/ufs/lfs/lfs_vfsops.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 801cca1f5d39 -r 2d334dc74240 sys/ufs/lfs/lfs_vfsops.c
--- a/sys/ufs/lfs/lfs_vfsops.c Sat Oct 10 22:33:44 2015 +0000
+++ b/sys/ufs/lfs/lfs_vfsops.c Sat Oct 10 22:33:57 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_vfsops.c,v 1.345 2015/09/01 06:16:59 dholland Exp $ */
+/* $NetBSD: lfs_vfsops.c,v 1.346 2015/10/10 22:33:57 dholland Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2002, 2003, 2007, 2007
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_vfsops.c,v 1.345 2015/09/01 06:16:59 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_vfsops.c,v 1.346 2015/10/10 22:33:57 dholland Exp $");
#if defined(_KERNEL_OPT)
#include "opt_lfs.h"
@@ -1843,9 +1843,6 @@
{
(void)fs; /* not used */
- daddr0 = (daddr_t)((int32_t)daddr0); /* XXX ondisk32 */
- daddr1 = (daddr_t)((int32_t)daddr1); /* XXX ondisk32 */
-
KASSERT(daddr0 == UNWRITTEN ||
(0 <= daddr0 && daddr0 <= LFS_MAX_DADDR(fs)));
KASSERT(daddr1 == UNWRITTEN ||
Home |
Main Index |
Thread Index |
Old Index