Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/ufs/ufs Pull up revision 1.30 via patch (requested ...
details: https://anonhg.NetBSD.org/src/rev/ab9c71e988af
branches: netbsd-2-0
changeset: 562253:ab9c71e988af
user: tron <tron%NetBSD.org@localhost>
date: Wed Jul 28 11:29:42 2004 +0000
description:
Pull up revision 1.30 via patch (requested by dbj in ticket #722):
remove incorrect casts that limit some uses of daddr_t to 31 bits
this fixes problems using ffs2 with more than 2^31 sectors (~1tb)
diffstat:
sys/ufs/ufs/ufs_bmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4e4963dc4477 -r ab9c71e988af sys/ufs/ufs/ufs_bmap.c
--- a/sys/ufs/ufs/ufs_bmap.c Wed Jul 28 11:27:00 2004 +0000
+++ b/sys/ufs/ufs/ufs_bmap.c Wed Jul 28 11:29:42 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs_bmap.c,v 1.28 2004/02/27 00:19:36 uwe Exp $ */
+/* $NetBSD: ufs_bmap.c,v 1.28.2.1 2004/07/28 11:29:42 tron Exp $ */
/*
* Copyright (c) 1989, 1991, 1993
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_bmap.c,v 1.28 2004/02/27 00:19:36 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_bmap.c,v 1.28.2.1 2004/07/28 11:29:42 tron Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -285,7 +285,7 @@
if (bp)
brelse(bp);
- daddr = blkptrtodb(ump, (int32_t)daddr); /* XXX ondisk32 */
+ daddr = blkptrtodb(ump, daddr);
*bnp = daddr == 0 ? -1 : daddr;
return (0);
}
Home |
Main Index |
Thread Index |
Old Index