From 2316d2aa6b9bbbe3f3ad7c604d0cc18000d47b81 Mon Sep 17 00:00:00 2001 From: "Alfred M. Szmidt" Date: Wed, 1 Dec 2004 06:17:18 +0000 Subject: 2004-11-22 Guillem Jover * bogus/mach_assert.h: Change #ifdef DEBUG to #ifndef NDEBUG for assert et al. * kern/assert.h: Likewise. * kern/debug.h: Likewise. * util/debug.h: Likewise. * i386/i386/debug.h: Move dump_ss definition out of [DEBUG]. * linux/dev/glue/block.c (rdwr_full): Remove invalid assert. --- linux/dev/glue/block.c | 1 - 1 file changed, 1 deletion(-) (limited to 'linux/dev') diff --git a/linux/dev/glue/block.c b/linux/dev/glue/block.c index 5267474..87603d8 100644 --- a/linux/dev/glue/block.c +++ b/linux/dev/glue/block.c @@ -589,7 +589,6 @@ rdwr_full (int rw, kdev_t dev, loff_t *off, char **buf, int *resid, int bshift) struct buffer_head bhead[MAX_BUF], *bh, *bhp[MAX_BUF]; assert ((*off & BMASK) == 0); - assert (*resid >= bsize); nbuf = *resid >> bshift; blk = *off >> bshift; -- cgit v1.2.3