Revert "ANDROID: fuse-bpf: use target instead of parent inode

to execute backing revalidate"

This reverts commit b610eff230.

Reason for revert: I broke BPF calling logic with this one. Possible
fix is here:
https://android-review.googlesource.com/c/kernel/common/+/2132134 but
we're still discussing possible way to go there:
go/fuse-bpf-revalidate-problem
Change-Id: I517941a2c341999dc8133b93cf045ec67bcf8a9e
Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
This commit is contained in:
Dmitrii Merkurev
2022-06-23 18:31:07 +00:00
parent 5d95acffca
commit 80b6ac8cf3

View File

@@ -212,7 +212,7 @@ static int fuse_dentry_revalidate(struct dentry *entry, unsigned int flags)
{
struct fuse_err_ret fer;
fer = fuse_bpf_backing(inode,
fer = fuse_bpf_backing(entry->d_parent->d_inode,
struct fuse_lookup_io,
fuse_lookup_initialize,
fuse_revalidate_backing,