From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [PATCH 12/18] shared mount handling: bind and rbind Date: Wed, 9 Nov 2005 14:31:07 +0000 Message-ID: <20051109143107.GV7992@ftp.linux.org.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: torvalds@osdl.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linuxram@us.ibm.com Return-path: To: Miklos Szeredi Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Wed, Nov 09, 2005 at 11:54:36AM +0100, Miklos Szeredi wrote: > Shouldn't this check go before copy_tree()? Not much point in copying > the tree if we are sure it won't be used. Incorrect. Propagation nodes further down the tree can very well be mountable.