UPSTREAM: ANDROID: fuse-bpf: Fix misuse of args.out_args

Test: fuse_test
Bug: 202785178
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Change-Id: I332d196329bba257a577d3ddc140136aa03bfdf1
This commit is contained in:
Paul Lawrence 2022-04-21 08:16:22 -07:00 • committed by Alexander Martinz
commit 3665b480d1
No known key found for this signature in database
GPG key ID: CF15BDD9A321A9B2

View file

@ -2439,7 +2439,7 @@ ssize_t fuse_bpf_simple_request(struct fuse_mount *fm, struct fuse_bpf_args *bpf
};
if (args.force)
bpf_args->flags |= FUSE_BPF_FORCE;
if (args.out_args)
if (args.out_argvar)
bpf_args->flags |= FUSE_BPF_OUT_ARGVAR;
for (i = 0; i < args.in_numargs; ++i)
bpf_args->in_args[i] = (struct fuse_bpf_in_arg) {