Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8c985ba authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

ovl: deal with overlay files in ovl_d_real()

parent 46e5d0a3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -97,6 +97,10 @@ static struct dentry *ovl_d_real(struct dentry *dentry,
	struct dentry *real;
	int err;

	/* It's an overlay file */
	if (inode && d_inode(dentry) == inode)
		return dentry;

	if (flags & D_REAL_UPPER)
		return ovl_dentry_upper(dentry);