Compile error blkmtd.c, v2.5.70 (and smaller)

From: Carlo Wood (carlo@alinoe.com)
Date: Fri Jun 06 2003 - 08:07:47 EST


kernel 2.5.70,

drivers/mtd/devices/blkmtd.c

still contains

#include <linux/iobuf.h>

reason enough not to compile...
that file was removed from 2.5.

I am suprised that this file was apparently never compiled by people :/

Commands used to backup/check my statement:

/usr/src/linux-2.5.69>grep -Hn iobuf.h drivers/mtd/devices/blkmtd.c
drivers/mtd/devices/blkmtd.c:52:#include <linux/iobuf.h>

/usr/src/linux-2.5.69>find . -type f -exec grep -H 'iobuf\.h' {} \;
./drivers/mtd/devices/blkmtd.c:#include <linux/iobuf.h>

/usr/src/linux-2.5.69>find . -name 'iobuf.h'
/usr/src/linux-2.5.69>find . -name '*iobuf*'
/usr/src/linux-2.5.69>

/usr/src/linux-2.5.69>locate iobuf.h | grep '2\.4'
/usr/src/jolan/linux-2.4.20/include/linux/iobuf.h
/usr/src/linux-2.4.20-tcore-akpm-preempt/include/linux/iobuf.h
/usr/src/linux-2.4.18-tcore-perfctr/include/linux/iobuf.h
/usr/src/linux-2.4.20-plain/include/linux/iobuf.h
/usr/src/linux-2.4.20-skas3/include/linux/iobuf.h

/usr/src/linux-2.5.69>tar tjf ../kernel/linux-2.5.69.tar.bz2 | grep 'iobuf\.h'
/usr/src/linux-2.5.69>

/usr/src/linux-2.5.69>tar tvjf ../kernel/linux-2.5.69.tar.bz2 | grep 'blkmtd\.c'
-rw-r--r-- torvalds/torvalds 36273 2003-05-05 01:52:59 linux-2.5.69/drivers/mtd/devices/blkmtd.c

/usr/src/linux-2.5.69>ls -l drivers/mtd/devices/blkmtd.c
-rw-r--r-- 1 carlo carlo 36273 May 5 01:52 drivers/mtd/devices/blkmtd.c

/usr/src/linux-2.5.69>bzcat ../kernel/patch-2.5.70.bz2 | grep blkmtd
/usr/src/linux-2.5.69>

-- 
Carlo Wood <carlo@alinoe.com>
-
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/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:30 EST