Matt Mackall writes: > On Sun, Jan 04, 2004 at 05:00:49PM -0700, Eric W. Biederman wrote: > > On the side of useless ugly. But interesting in what I had to touch > > the following patch is a first crude stab at removing block device > > support from the kernel. > > This looks good. If you can send me a version with > /BLOCK_DEVICE/BLOCK/, etc., I'll put it in. Ok. I have just had a chance to clean some things up. Attached is my latest and hopefully clean set up diffs against 2.6.1-rc1-tiny1 I am bouncing this off of linux-kernel as well since I got such good feedback last time. - First the compile fixes, so I can compile test this code. - Then the CONFIG_BLOCK patch. * I have reviewed the code and it looks correct, beyond just the fact that the code compiles. * I have added a sync.c for the sync functions that used to live in buffer.c. * I have removed most instances of CONFIG_BLOCK from the mainline code to improve maintenance. Now there are just a few ugly parts where the block layer is not cleanly separated from the rest of the code. * I have updated where I put the depends so fewer things need a CONFIG_BLOCK. * I have added a CONFIG_BLOCK to all of the likely looking filesystems. - Then a new patch that was sort of in my tree to make BINFMT_SCRIPT configurable. - And another new patch to use cond_syscall instead of explicit dummies when we don't have the AIO code compiled in. The last two patches really don't really appear to save anything but they are clean, and you can't have too many CONFIG_EMBEDDED options :) Eric