The response to the bug on the mailing list is disheartening. Report goes "set errno=0 so your error message makes sense". Didn't get a thanks, fixed.
Instead there's objections on the basis "filesystems shouldn't work like that".
replies(2):
Instead there's objections on the basis "filesystems shouldn't work like that".
Not like setting errno=0 before calling readdir() is a novel idea...