Re: nfs_lookup_revalidate BUG ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 14, 2012 at 06:04:08PM +0000, Myklebust, Trond wrote:
> > Is this a known BUG ?
> > Which other information or test can I do to contribute searching/resolving this issue?
> 
> I'm not 100% certain, but it looks to me as if the call to dget_parent()
> in nfs_lookup_revalidate is returning NULL.
> 
> Could you please apply the following patch, and see if that triggers the
> WARN_ON instead of the above Oops?

Unlikely as hell.  dget_parent() has only one return in it, and it's
        BUG_ON(!ret->d_count);
        ret->d_count++;
        spin_unlock(&ret->d_lock);
        return ret;
so it's extremely unlikely that it would managed to return NULL.  Not
without oopsing...
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux