svn commit: r282485 - head/lib/libc/gen
Alan Somers
asomers at freebsd.org
Tue Dec 5 21:25:45 UTC 2017
On Tue, May 5, 2015 at 8:52 AM, Julian Elischer <julian at freebsd.org> wrote:
> Author: julian
> Date: Tue May 5 14:52:33 2015
> New Revision: 282485
> URL: https://svnweb.freebsd.org/changeset/base/282485
>
> Log:
> Tweak seekdir, telldir and readdir so that when htere are deletes going
> on,
> as seek to teh last location saved will still work. This is needed for
> Samba
> to be able to correctly handle delete requests from windows. This does
> not
> completely fix seekdir when deletes are present but fixes the worst of
> the
> problems. The real solution must involve some changes to the API for eh
> VFS
> and getdirentries(2).
>
> Obtained from: Panzura inc
> MFC after: 1 week
>
> Modified:
> head/lib/libc/gen/directory.3
> head/lib/libc/gen/readdir.c
> head/lib/libc/gen/rewinddir.c
> head/lib/libc/gen/telldir.c
> head/lib/libc/gen/telldir.h
>
Do you remember what the exact problem you had was? I'm trying to write a
regression test for it, but I'm having trouble guessing what the bug was.
And was _fixtelldir() related to the issue with deletes, or was that to fix
a separate bug?
-Alan
More information about the svn-src-head
mailing list