For JSON RPC, boolean response with false value may not be regarded as error. Previously many cases were replaced to use spdk_jsonrpc_send_error_response() explicitly. Replace one of the remaining cases in this patch. rpc_blobfs_detect() uses boolean response for not only true but also false, but it had a memory leak bug. Fix it together in this patch. Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Iaff21115282f638038345daa986b5c743ba9a3ed Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16621 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
bdev | ||
Makefile |