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

Commit 3ef1500b authored by Paul Lawrence's avatar Paul Lawrence
Browse files

Revert "ANDROID: Incremental fs: dentry_revalidate should not return -EBADF."



This reverts commit 30abd709.

Set incfs back to rvc shipping incfs

Bug: 178509184
Test: incfs_test passes
Signed-off-by: default avatarPaul Lawrence <paullawrence@google.com>
Change-Id: Ib71afdc4e9f2f685d2ab507fac8ee396824fdbcf
parent 76cc01df
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2005,8 +2005,10 @@ static int dentry_revalidate(struct dentry *d, unsigned int flags)

	get_incfs_backing_path(d, &backing_path);
	backing_dentry = backing_path.dentry;
	if (!backing_dentry)
	if (!backing_dentry) {
		result = -EBADF;
		goto out;
	}

	if (d_inode(backing_dentry) != binode) {
		/*