From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Subject: Re: [PATCH] ovl: create UUIDs for file systems that do not set the superblock UUID Date: Thu, 7 Nov 2019 10:18:43 +0300 Message-ID: <20191107071843.GN10409@kadam> References: <20191106234301.283006-1-colin.king@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Amir Goldstein Cc: Colin King , Miklos Szeredi , overlayfs , kernel-janitors@vger.kernel.org, linux-kernel List-Id: linux-unionfs@vger.kernel.org On Thu, Nov 07, 2019 at 09:08:44AM +0200, Amir Goldstein wrote: > diff --git a/fs/overlayfs/ovl_entry.h b/fs/overlayfs/ovl_entry.h > index a8279280e88d..a0227c31fe17 100644 > --- a/fs/overlayfs/ovl_entry.h > +++ b/fs/overlayfs/ovl_entry.h > @@ -22,6 +22,8 @@ struct ovl_config { > struct ovl_sb { > struct super_block *sb; > dev_t pseudo_dev; > + /* Unusable (conflicting) uuid */ > + bool nouuid; Could we name this ignore_uuid, skip_uuid or bad_uuid or something? Otherwise we end up with double negatives. regards, dan carpenter From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Date: Thu, 07 Nov 2019 07:18:43 +0000 Subject: Re: [PATCH] ovl: create UUIDs for file systems that do not set the superblock UUID Message-Id: <20191107071843.GN10409@kadam> List-Id: References: <20191106234301.283006-1-colin.king@canonical.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Amir Goldstein Cc: Colin King , Miklos Szeredi , overlayfs , kernel-janitors@vger.kernel.org, linux-kernel On Thu, Nov 07, 2019 at 09:08:44AM +0200, Amir Goldstein wrote: > diff --git a/fs/overlayfs/ovl_entry.h b/fs/overlayfs/ovl_entry.h > index a8279280e88d..a0227c31fe17 100644 > --- a/fs/overlayfs/ovl_entry.h > +++ b/fs/overlayfs/ovl_entry.h > @@ -22,6 +22,8 @@ struct ovl_config { > struct ovl_sb { > struct super_block *sb; > dev_t pseudo_dev; > + /* Unusable (conflicting) uuid */ > + bool nouuid; Could we name this ignore_uuid, skip_uuid or bad_uuid or something? Otherwise we end up with double negatives. regards, dan carpenter