Thread (3 messages) 3 messages, 3 authors, 2012-05-11

Re: [PATCH] bio allocation failure due to bio_get_nr_vecs()

From: Jens Axboe <axboe@kernel.dk>
Date: 2012-05-11 14:36:25
Also in: linux-fsdevel

On 05/11/2012 04:06 PM, Jeff Moyer wrote:
Bernd Schubert [off-list ref] writes:
quoted
diff --git a/fs/bio.c b/fs/bio.c
index e453924..84da885 100644
--- a/fs/bio.c
+++ b/fs/bio.c
@@ -505,9 +505,14 @@ EXPORT_SYMBOL(bio_clone);
 int bio_get_nr_vecs(struct block_device *bdev)
 {
 	struct request_queue *q = bdev_get_queue(bdev);
-	return min_t(unsigned,
+	int nr_pages;
Looks like a corrupt patch.
It's fine, I think you are misreading the added and removed lines :-)

-- 
Jens Axboe

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help