lkml.org 
[lkml]   [2008]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] readdir mess


On Wed, 13 Aug 2008, OGAWA Hirofumi wrote:
>
> 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...

.. I actually had an old binary that triggered that case (actually, it was
O_LARGEFILE in open()), and didn't work as a result. I only needed to run
it once, so I literally hacked up a once-time-use kernel that just removed
the EOVERFLOW in open.

So no, I'm not a fan of EOVERFLOW at all. Not in readdir(), not really
anywhere else.

Linus


\
 
 \ /
  Last update: 2008-08-12 22:09    [W:0.124 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site