mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
Revert "ANDROID: Incremental fs: dentry_revalidate should not return -EBADF."
This reverts commit 30abd70986.
Set incfs back to rvc shipping incfs
Bug: 178509184
Test: incfs_test passes
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Change-Id: Ib71afdc4e9f2f685d2ab507fac8ee396824fdbcf
This commit is contained in:
@@ -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) {
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user