From: Oleg D. <gr...@li...> - 2004-04-15 21:46:28
|
Hello! On Fri, Apr 16, 2004 at 12:03:18AM +0300, Oleg Drokin wrote: > So the annoying problem with readdir not working on hostfs (on 2.6 host > kernel only for me) was finally hunted to memory allocation > problem during opendir. > > The patch below is a working and tested attempt at fixing it. > It is againt 2.4.20-something, but is pretty straightforward and > probably should apply everywhere else. This is corrected version that sets errno on malloc failure and as a bonus - um_vmalloc is now also declared in header file and therefore no edtra warning in main.c ;) Bye, Oleg |