summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorAlfred M. Szmidt <ams@gnu.org>2005-04-05 19:20:24 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:15:26 +0200
commit174f866d199b6a7e60d708e7e822ea27687cc20c (patch)
tree35d413171c56deb864e9df3c20332b1c9339a6f2 /linux
parente91444faadb368495b75d871ec6614d075e06979 (diff)
2005-02-10 Guillem Jover <guillem@hadrons.org>
* linux/dev/glue/block.c (rdwr_partial): Remove leftover assert.
Diffstat (limited to 'linux')
-rw-r--r--linux/dev/glue/block.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/linux/dev/glue/block.c b/linux/dev/glue/block.c
index 87603d8..032aa90 100644
--- a/linux/dev/glue/block.c
+++ b/linux/dev/glue/block.c
@@ -544,7 +544,6 @@ rdwr_partial (int rw, kdev_t dev, loff_t *off,
{
o = *off & BMASK;
c = bh->b_size - o;
- assert (*resid <= c);
if (c > *resid)
c = *resid;
if (rw == READ)