From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vivek Goyal Subject: Re: [PATCH 09/13] ovl: Set OVL_UPPERDATA flag during ovl_lookup() Date: Thu, 26 Oct 2017 14:04:18 -0400 Message-ID: <20171026180418.GE28005@redhat.com> References: <1508958575-14086-1-git-send-email-vgoyal@redhat.com> <1508958575-14086-10-git-send-email-vgoyal@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mx1.redhat.com ([209.132.183.28]:52656 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932331AbdJZSET (ORCPT ); Thu, 26 Oct 2017 14:04:19 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-unionfs-owner@vger.kernel.org List-Id: linux-unionfs@vger.kernel.org To: Amir Goldstein Cc: overlayfs , Miklos Szeredi On Thu, Oct 26, 2017 at 09:19:38AM +0300, Amir Goldstein wrote: [..] > > @@ -634,6 +653,20 @@ struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry, > > roe->numlower, &stack, &ctr); > > if (err) > > goto out_put_upper; > > + > > + err = ovl_check_metacopy(upperdentry); > > You should avoid checking metacopy xattr for file types that are not > eligable. Sure. Will do. Vivek