Re: 2.5.69-mjb1: undefined reference to `blk_queue_empty'

Martin J. Bligh (mbligh@aracnet.com)
Tue, 13 May 2003 06:58:25 -0700


> I have already sent you a fix for this. Anyway here it is again.

Oops, I must have dropped it - thanks, I'll stick it in the next release.

> --- linux-2.5.69/drivers/dump/dump_blockdev.c.orig Tue May 13 12:30:49 2003
> +++ linux-2.5.69/drivers/dump/dump_blockdev.c Tue May 13 12:34:09 2003
> @@ -261,7 +261,7 @@
>
> /* For now we assume we have the device to ourselves */
> /* Just a quick sanity check */
> - if (!blk_queue_empty(bdev_get_queue(dump_bdev->bdev))) {
> + if (elv_next_request(bdev_get_queue(dump_bdev->bdev))) {
> /* i/o in flight - safer to quit */
> return -EBUSY;
> }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/