From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [PATCH] vfs: fix race in rcu lookup of pruned dentry Date: Wed, 20 Jul 2011 02:40:14 +0100 Message-ID: <20110720014014.GV11013@ZenIV.linux.org.uk> References: <20110718194703.GI11013@ZenIV.linux.org.uk> <20110719234550.GR11013@ZenIV.linux.org.uk> <20110719235215.GS11013@ZenIV.linux.org.uk> <20110719235515.GT11013@ZenIV.linux.org.uk> <20110720104721.03a2a2f0@notabene.brown> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linus Torvalds , Hugh Dickins , Andrew Morton , Nick Piggin , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: NeilBrown Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:37976 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752509Ab1GTBkU (ORCPT ); Tue, 19 Jul 2011 21:40:20 -0400 Content-Disposition: inline In-Reply-To: <20110720104721.03a2a2f0@notabene.brown> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, Jul 20, 2011 at 10:47:21AM +1000, NeilBrown wrote: > > > > > > Kudos to neilb for spotting the pointless check, BTW; and no, his theory > > > that it might be needed since we could race with umount() is wrong - due to > > > vfsmount_lock being held. > > Thanks.. but that patch seems to introduce an unused variable "seq". > > NeilBrown Grr... I can amend and push again, of course, but I've no idea if Linus has already pulled into his tree ;-/ Still not there in tree on hera, but that's not saying much. Linus?