Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/dev/raidframe Pull up revision 1.104 (requested by ...
details: https://anonhg.NetBSD.org/src/rev/9d9bb026b964
branches: netbsd-2-0
changeset: 561726:9d9bb026b964
user: jdc <jdc%NetBSD.org@localhost>
date: Thu Jul 01 21:51:53 2004 +0000
description:
Pull up revision 1.104 (requested by oster in ticket #569).
Remove a (redundant) check that was already performed in raidstart().
diffstat:
sys/dev/raidframe/rf_driver.c | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
diffs (37 lines):
diff -r e71b62b2bf75 -r 9d9bb026b964 sys/dev/raidframe/rf_driver.c
--- a/sys/dev/raidframe/rf_driver.c Thu Jul 01 21:50:13 2004 +0000
+++ b/sys/dev/raidframe/rf_driver.c Thu Jul 01 21:51:53 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_driver.c,v 1.98.2.4 2004/06/28 08:33:49 tron Exp $ */
+/* $NetBSD: rf_driver.c,v 1.98.2.5 2004/07/01 21:51:53 jdc Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -73,7 +73,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.98.2.4 2004/06/28 08:33:49 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.98.2.5 2004/07/01 21:51:53 jdc Exp $");
#include "opt_raid_diagnostic.h"
@@ -658,18 +658,7 @@
(long) bufPtr);
}
#endif
- if (raidAddress + numBlocks > raidPtr->totalSectors) {
- printf("DoAccess: raid addr %lu too large to access %lu sectors. Max legal addr is %lu\n",
- (u_long) raidAddress, (u_long) numBlocks, (u_long) raidPtr->totalSectors);
-
-
- bp->b_flags |= B_ERROR;
- bp->b_resid = bp->b_bcount;
- bp->b_error = ENOSPC;
- biodone(bp);
- return (ENOSPC);
- }
desc = rf_AllocRaidAccDesc(raidPtr, type, raidAddress,
numBlocks, lbufPtr, bp, flags, raidPtr->Layout.map->states);
Home |
Main Index |
Thread Index |
Old Index