mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
UPSTREAM: ANDROID: fix kernelci error in fs/fuse/dir.c
kernelci reported the following error when !CONFIG_FUSE_BPF:
fs/fuse/dir.c:269:40: error: no member named 'backing_inode' in 'struct fuse_inode'
Fixed by wrapping that new code in #ifdef CONFIG_FUSE_BPF.
Fixes: 094905c87771 ("ANDROID: fuse-bpf: Always call revalidate for
backing")
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I08760f340cebf21d3084ca84ac1792bc70f311ff
This commit is contained in:
parent
e36a3e56c9
commit
defb79fa30
1 changed files with 2 additions and 1 deletions
|
|
@ -263,6 +263,7 @@ static int fuse_dentry_revalidate(struct dentry *entry, unsigned int flags)
|
|||
|
||||
parent = dget_parent(entry);
|
||||
|
||||
#ifdef CONFIG_FUSE_BPF
|
||||
/* TODO: Once we're handling timeouts for backing inodes, do a
|
||||
* bpf based lookup_revalidate here.
|
||||
*/
|
||||
|
|
@ -271,7 +272,7 @@ static int fuse_dentry_revalidate(struct dentry *entry, unsigned int flags)
|
|||
ret = 1;
|
||||
goto out;
|
||||
}
|
||||
|
||||
#endif
|
||||
forget = fuse_alloc_forget();
|
||||
ret = -ENOMEM;
|
||||
if (!forget) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue