From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J. Bruce Fields" Subject: Re: [PATCH] fs/dcache: allow __d_obtain_alias() to return unhashed dentries Date: Tue, 13 Mar 2012 16:55:30 -0400 Message-ID: <20120313205529.GC21991@fieldses.org> References: <20110118220817.GF10903@fieldses.org> <20110308181320.GA15566@fieldses.org> <20110310105821.GE22723@ZenIV.linux.org.uk> <20110311150749.2fa2be66@notabene.brown> <20120214170300.GA4309@fieldses.org> <20120215165633.GE12490@fieldses.org> <20120216140603.08cb4900@notabene.brown> <20120216223011.GA23997@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: NeilBrown , Al Viro , Nick Piggin , Nick Piggin , linux-nfs@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Peng Tao Return-path: Received: from fieldses.org ([174.143.236.118]:33506 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751859Ab2CMUzg (ORCPT ); Tue, 13 Mar 2012 16:55:36 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sat, Feb 18, 2012 at 12:34:14AM +0800, Peng Tao wrote: > > diff --git a/fs/dcache.c b/fs/dcache.c > > index f68e193..1fd2256 100644 > > --- a/fs/dcache.c > > +++ b/fs/dcache.c > > @@ -1602,9 +1602,8 @@ struct dentry *d_splice_alias(struct inode *i= node, struct dentry *dentry) > > > > =C2=A0 =C2=A0 =C2=A0 =C2=A0if (inode && S_ISDIR(inode->i_mode)) { > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0spin_lock(&i= node->i_lock); > > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 new =3D __d_find= _alias(inode, 1); > by replacing this, the want_discon argument is no longer in use. care > to remove it as well? Yep, both patches follow; Al, could you take these? --b. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html