Module Name: src Committed By: dholland Date: Sat Oct 10 22:33:57 UTC 2015
Modified Files: src/sys/ufs/lfs: lfs_vfsops.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.345 -r1.346 src/sys/ufs/lfs/lfs_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/ufs/lfs/lfs_vfsops.c diff -u src/sys/ufs/lfs/lfs_vfsops.c:1.345 src/sys/ufs/lfs/lfs_vfsops.c:1.346 --- src/sys/ufs/lfs/lfs_vfsops.c:1.345 Tue Sep 1 06:16:59 2015 +++ src/sys/ufs/lfs/lfs_vfsops.c Sat Oct 10 22:33:57 2015 @@ -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 @@ lfs_issequential_hole(const struct lfs * { (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 ||