Messages in this thread | | | Date | Fri, 15 Aug 2008 06:34:36 +0100 | From | Al Viro <> | Subject | Re: [RFC] readdir mess |
| |
On Fri, Aug 15, 2008 at 01:06:13AM -0400, Jan Harkes wrote: > On Wed, Aug 13, 2008 at 01:04:33AM +0100, Al Viro wrote: > > coda: returns fsck knows what (number of entries, mostly) > > Not sure either and I was the one that sent the patch that introduced > that. My closest guess would be that I looked too long at a getdents(2) > manpage, but then again it doesn't really match that either.
Simply return 0 unless you get an error in iterator itself. Returning the first error from filldir requires changes in callers.
| |