lkml.org 
[lkml]   [2008]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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.


    \
     
     \ /
      Last update: 2008-08-15 07:37    [W:2.954 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site