Re: [2.5 patch] remove all #include <blk.h>'s

Jens Axboe (axboe@suse.de)
Sun, 11 May 2003 15:57:36 +0200


On Sat, May 10 2003, Adrian Bunk wrote:
> all #include <blk.h>'s for 2.5 and blk.h does now #error. If people

I think that's _really_ stupid. Make it a warning ala

#warning blk.h is deprecated, use blkdev.h

like we did with malloc.h in 2.4.

> want their drivers to run unmodified under 2.4 it might be necessary to
> do a
> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,70)
> #include <linux/blk.h>
> #endif

That is horrible.

-- 
Jens Axboe

- 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/