Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264068AbUDNMKd (ORCPT ); Wed, 14 Apr 2004 08:10:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264066AbUDNMKc (ORCPT ); Wed, 14 Apr 2004 08:10:32 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:33989 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S264068AbUDNMK3 (ORCPT ); Wed, 14 Apr 2004 08:10:29 -0400 Date: Wed, 14 Apr 2004 13:10:26 +0100 From: viro@parcelfarce.linux.theplanet.co.uk To: raven@themaw.net Cc: Hugh Dickins , Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] umount after bad chdir Message-ID: <20040414121026.GD31500@parcelfarce.linux.theplanet.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 723 Lines: 19 On Wed, Apr 14, 2004 at 08:12:33PM +0800, raven@themaw.net wrote: > On Wed, 14 Apr 2004, Hugh Dickins wrote: > > > After chdir (or chroot) to non-existent directory on 2.6.5-mm5, you > > can no longer unmount filesystem holding working directory (or root). > > > > Of course. > > Excellent. Thanks very much. Mind you, chdir() patch in -mm is broken in a lot of other ways - e.g. it assumes that another thread sharing ->fs with us won't call chdir() in the wrong moment... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/