Re: [RFC] NFS Support

Christoph Hellwig
2008-07-01T07:01:56Z

On Mon, Jun 30, 2008 at 11:08:11AM -0400, Josef Bacik wrote:
> > >>
> > >> spin_unlock(&dentry->d_lock);
> > >>
> > >> len += 3;
> > >
> > > there is no need to take the d_lock here.
> > OK. Will remove it. It was done at fs/ocfs2/export.c. So probably i
> > thought it was necessary.
> >
> > <snip>
> >
>
> Ahh see this is where me not being familiar with NFS gets me in trouble, you do
> need the d_lock in that case. Sorry about that.

It's not really about nfs, dereferencing ->d_parent needs d_lock.