commit 21cc568c69c3d3331993c72b5b36b6f8dfa9bcd1 from: Sergey Bronnikov date: Sat Feb 27 16:11:12 2021 UTC Fix return code in FUSE wrapper for ioctl() "Usually, on success zero is returned. A few ioctl() requests use the return value as an output parameter and return a nonnegative value on success. On error, -1 is returned, and errno is set appropriately." commit - 919db5195b1f0072be78ac9784f8113d0ced2499 commit + 21cc568c69c3d3331993c72b5b36b6f8dfa9bcd1 blob - c1cc41dc6c6c5304f56607345b4515c940856211 blob + c36cd92b912bb0d19595349075a9844ee785f9e2 --- unreliablefs_ops.c +++ unreliablefs_ops.c @@ -626,7 +626,7 @@ int unreliable_ioctl(const char *path, int cmd, void * return -errno; } - return 0; + return ret; } #endif /* __OpenBSD__ */