Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966211Ab0GPVGB (ORCPT ); Fri, 16 Jul 2010 17:06:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36376 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966094Ab0GPVGA (ORCPT ); Fri, 16 Jul 2010 17:06:00 -0400 Date: Fri, 16 Jul 2010 17:05:40 -0400 From: Valerie Aurora To: Ian Kent Cc: Alexander Viro , Miklos Szeredi , Jan Blunck , Christoph Hellwig , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 21/38] union-mount: Support for mounting union mount file systems Message-ID: <20100716210539.GE21201@shell> References: <1276627208-17242-1-git-send-email-vaurora@redhat.com> <1276627208-17242-22-git-send-email-vaurora@redhat.com> <20100713044701.GF3949@zeus.themaw.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100713044701.GF3949@zeus.themaw.net> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1246 Lines: 29 On Tue, Jul 13, 2010 at 12:47:02PM +0800, Ian Kent wrote: > On Tue, Jun 15, 2010 at 11:39:51AM -0700, Valerie Aurora wrote: > > +/** > > + * prepare_mnt_union - do setup necessary for a union mount > > + * > > + * @topmost_mnt: vfsmount of topmost layer > > + * @mntpnt: path of requested mountpoint > > + * > > + * A union mount clones the underlying read-only mounts and keeps them > > + * in its own internal list of of vfsmounts, hanging off the > > + * superblock. The first underlying mount (at @mntpnt) has passed > > + * check_mnt_union(), so we know we have at least one layer of union > > + * mount underneath this one. We union every underlying file system > > + * that is mounted on the same mountpoint (well, pathname) and > > + * read-only. > > Last sentence looks a bit odd, would this be better? > > We union every underlying file system that is mounted read-only on the > same mountpoint (well, pathname). Hm, I appear to have re-written that in the latest set of patches. -VAL -- 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/