[PATCH] bio allocation failure due to bio_get_nr_vecs()
Jeff Moyer
jmoyer at redhat.com
Fri May 11 09:06:30 CDT 2012
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.
More information about the xfs
mailing list