lkml.org 
[lkml]   [2008]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Linux 2.6.26-rc4
    On Tue, Jun 03, 2008 at 09:35:47AM -0700, Linus Torvalds wrote:
    >
    >
    > On Wed, 4 Jun 2008, Ian Kent wrote:
    > >
    > > The code we're talking about deals with a race between expiring and
    > > mounting an autofs mount point at the same time.
    > >
    > > I'll have a closer look and see if I can make it work without turning
    > > the dentry negative.
    >
    > Hmm.
    >
    > Can you walk me through this?
    >
    > If the dentry is unhashed, it means that it _either_
    >
    > - has already been deleted (rmdir'ed) or d_invalidate()'d. Right?
    >
    > I don't see why you should ever return the dentry in this case..

    From my reading of that code looks like it's been rmdir'ed. And no, I
    don't understand what the hell is that code trying to do.

    Ian, could you describe the race you are talking about?


    \
     
     \ /
      Last update: 2008-06-03 18:43    [W:0.025 / U:2.544 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site