xfs
[Top] [All Lists]

Re: loop-6 and the XFS tree

To: Thomas Graichen <thomas.graichen@xxxxxxxxxxxxxx>
Subject: Re: loop-6 and the XFS tree
From: Jens Axboe <axboe@xxxxxxx>
Date: Wed, 28 Feb 2001 14:27:12 +0100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <news2mail-97ii91$cnk$1@mate.bln.innominate.de>; from news-innominate.list.sgi.xfs@innominate.de on Wed, Feb 28, 2001 at 10:01:05AM +0000
References: <news2mail-97fo1e$rb$3@mate.bln.innominate.de> <20010227153839.D16652@suse.de> <news2mail-97ii91$cnk$1@mate.bln.innominate.de>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Wed, Feb 28 2001, Thomas Graichen wrote:
> > static int loop_make_request(request_queue_t *q, int rw,
> >                          struct buffer_head *rbh, struct kio_buf *kio,
> >                          kdev_t dev, unsigned long block, size_t bsize)
> 
> i assume the kio_buf is kiobuf above? - then it compiles fine

Yes of course, sorry.

> (only sidething is: loop.c: In function `loop_init': loop.c:956:
> warning: passing arg 2 of `blk_queue_make_request' from incompatible
> pointer type ... same for rd.c)

Maybe because the xfs tree doesn't quite agree on what make_request_fn
should look like. Make the size_t unsigned int instead in loop
and rd.

-- 
Jens Axboe


<Prev in Thread] Current Thread [Next in Thread>