[PATCH] bio allocation failure due to bio_get_nr_vecs()
Bernd Schubert
bernd.schubert at itwm.fraunhofer.de
Fri May 11 09:31:25 CDT 2012
On 05/11/2012 04:06 PM, Jeff Moyer wrote:
> Bernd Schubert<bernd.schubert at itwm.fraunhofer.de> writes:
>
>> 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.
What do you actually mean? Issue by thunderbird? I just saved the mail
in my sent folder and it looks? Just to be sure, patch attached.
Thanks,
Bernd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-bio-nrvec.patch
Type: text/x-patch
Size: 1242 bytes
Desc: not available
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20120511/237a5d90/attachment.patch>
More information about the xfs
mailing list