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. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html