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

to execute backing revalidate"

This reverts commit b610eff230f2ce92fd48502d71ad0993792f73d3.

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 • committed by Alexander Martinz
commit c01add08ee
No known key found for this signature in database
GPG key ID: CF15BDD9A321A9B2

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,