Loading
module/bdev: Use error_response() rather than bool_response(false) for JSON RPCs
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. However, this pattern did not become established and new bdev modules used spdk_jsonrpc_send_bool_response() with false. Once again, replace remaining cases in this patch. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Ie8858bc8ff7c36bc3a829977044a91d459db76f2 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16555 Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>