diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index 7d464480d74f..25ddb77d7266 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c @@ -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) {