Re: [RFC] readdir mess

From: OGAWA Hirofumi
Date: Tue Aug 12 2008 - 15:45:23 EST


Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> writes:

> As to -EOVERFLOW, I suspect we are better off just dropping that whole
> logic. Returning -EOVERFLOW and truncating the readdir listing is likely
> much worse than the alternative. It made sense back when we needed to get
> people to upgrade the system interfaces, now it just means that old
> binaries won't work at all.

However, there are some similar stuff: ->st_size, ->st_nlink and
->st_ino in stat() (cp_old_stat()). Maybe EOVERFLOW is the reason for
consistency...
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/