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

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

ovl: permission: return ECHILD instead of ENOENT



The error is due to RCU and is temporary.

Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent d719e8f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ int ovl_permission(struct inode *inode, int mask)
	realinode = d_inode_rcu(realdentry);
	if (!realinode) {
		WARN_ON(!(mask & MAY_NOT_BLOCK));
		return -ENOENT;
		return -ECHILD;
	}

	/*