Merge pull request #1109 from trapexit/fixes

Fix regression testing for implemented functions
This commit is contained in:
trapexit 2022-12-11 14:44:54 -05:00 committed by GitHub
commit 6c2db76b92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1999,6 +1999,8 @@ fuse_ll_process_buf(void *data,
err = ENOSYS; err = ENOSYS;
if(in->opcode >= FUSE_MAXOP) if(in->opcode >= FUSE_MAXOP)
goto reply_err; goto reply_err;
if(fuse_ll_ops[in->opcode].func == NULL)
goto reply_err;
fuse_ll_ops[in->opcode].func(req, in); fuse_ll_ops[in->opcode].func(req, in);