On Thu, Apr 26, 2018 at 12:09 PM, Vivek Goyal <vgoyal@xxxxxxxxxx> wrote: > Metacopy dentry/inode is internal to overlay and is never exposed > outside of it. Modify d_real() to look for only dentries/inode which > have data and which are not metacopy. > > Signed-off-by: Vivek Goyal <vgoyal@xxxxxxxxxx> Looks fine, but not adding reviewed-by for patches that are about to change after rebase over newer version of -rorw. > --- > fs/overlayfs/super.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c > index b81ec9d22ac5..4efb7cd76cc1 100644 > --- a/fs/overlayfs/super.c > +++ b/fs/overlayfs/super.c > @@ -100,7 +100,7 @@ static struct dentry *ovl_d_real(struct dentry *dentry, > if (!d_is_reg(dentry)) > goto bug; > > - real = ovl_dentry_real(dentry); > + real = ovl_dentry_real_data(dentry); > if (inode == d_inode(real)) > return real; > > -- > 2.13.6 > -- To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html