diff --git a/fs/overlayfs/export.c b/fs/overlayfs/export.c index 8f4286450f92a5fc0cf2664fdd11ce9bbf47ab43..0e696f72cf651ac6023a5e1356f7ae39ab0a7ea1 100644 --- a/fs/overlayfs/export.c +++ b/fs/overlayfs/export.c @@ -476,7 +476,7 @@ static struct dentry *ovl_lookup_real_inode(struct super_block *sb, if (IS_ERR_OR_NULL(this)) return this; - if (WARN_ON(ovl_dentry_real_at(this, layer->idx) != real)) { + if (ovl_dentry_real_at(this, layer->idx) != real) { dput(this); this = ERR_PTR(-EIO); }