lvol: Make snapshot_lvol_bdev RPC's arguments required
Progress cannot be made without these values. Change-Id: I40e346f8598dcca8a4028c1c05cfdebdc5a8e4c1 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/408245 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
parent
37ef0cca91
commit
7540c61a21
@ -428,8 +428,8 @@ free_rpc_snapshot_lvol_bdev(struct rpc_snapshot_lvol_bdev *req)
|
||||
}
|
||||
|
||||
static const struct spdk_json_object_decoder rpc_snapshot_lvol_bdev_decoders[] = {
|
||||
{"lvol_name", offsetof(struct rpc_snapshot_lvol_bdev, lvol_name), spdk_json_decode_string, true},
|
||||
{"snapshot_name", offsetof(struct rpc_snapshot_lvol_bdev, snapshot_name), spdk_json_decode_string, true},
|
||||
{"lvol_name", offsetof(struct rpc_snapshot_lvol_bdev, lvol_name), spdk_json_decode_string},
|
||||
{"snapshot_name", offsetof(struct rpc_snapshot_lvol_bdev, snapshot_name), spdk_json_decode_string},
|
||||
};
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user