From: Al Viro Subject: Re: [patch 5/7] vfs: mountinfo: allow using process root Date: Fri, 28 Mar 2008 02:08:53 +0000 Message-ID: <20080328020853.GB10722@ZenIV.linux.org.uk> References: <20080327120619.031944658@szeredi.hu> <20080327122357.850000253@szeredi.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: akpm@linux-foundation.org, linuxram@us.ibm.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Miklos Szeredi Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:60207 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754315AbYC1CJQ (ORCPT ); Thu, 27 Mar 2008 22:09:16 -0400 Content-Disposition: inline In-Reply-To: <20080327122357.850000253@szeredi.hu> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, Mar 27, 2008 at 01:06:24PM +0100, Miklos Szeredi wrote: > From: Miklos Szeredi > > Allow /proc//mountinfo to use the root of to calculate > mountpoints. > > - move definition of 'struct proc_mounts' to > - add the process's namespace and root to this structure > - pass a pointer to 'struct proc_mounts' into seq_operations NB: we might want to collect that stuff in one place. Sharing details between proc/base and namespace is not nice and it just got more hairy.