On Tue, 12 Aug 2008, Al Viro wrote:Sure it does. No I've not. If we returned a partial result, we _should_ return a partial result. And if we got EIO on the first entry, we should return EIO. The _current_ code is crap. It sometimes returns the error (if the ->readdir() function returned error), and sometimes returns the partial result (if the "buf.error" was set). Keeping them simple (and not changing them - always returning zero is what the _original_ readdir() thing did!) is why the current situation exists. So if we keep it that way, then we really *KEEP* it that way. Don't go around changing any of the existing rules. Just make sure that the callbacks keep on always returning negative or zero (and never positive). Linus --
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Alan Cox | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [GIT]: Networking |
| Evgeniy Polyakov | Re: [BUG] New Kernel Bugs |
