mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-26 12:30:23 +09:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user