Andrew Morton wrote: > On Mon, 20 Apr 2009 01:05:23 -0300 > Adriano dos Santos Fernandes wrote: > > >> memory_open ignores devlist and does a switch for each item, duplicating >> code >> and conditional definitions. >> >> Clean it adding backing_dev_info to devlist and use it to lookup for the >> minor >> device. >> > > The patch looks reasonable, however your email client replaced all tabs > with spaces and I didn't really feel like fixing it all up. > I'm not having success to let Thunderbird make it right. I put the exact same patch attached now. > I wonder what the lock_kernel() calls in memory_open() are doing. Hmm, not something I can say while submitting my first patch. ;-) Adriano