bdev/raid: Fix more than a space between struct and name struct
This is just for readability. Change-Id: Ic2a62ded78146c5b8736b6b7daebda1f3d5e3c47 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/454414 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
1014591d57
commit
48a490d48f
@ -376,8 +376,8 @@ static void
|
|||||||
raid_bdev_io_submit_fail_process(struct raid_bdev *raid_bdev, struct spdk_bdev_io *bdev_io,
|
raid_bdev_io_submit_fail_process(struct raid_bdev *raid_bdev, struct spdk_bdev_io *bdev_io,
|
||||||
struct raid_bdev_io *raid_io, int ret)
|
struct raid_bdev_io *raid_io, int ret)
|
||||||
{
|
{
|
||||||
struct raid_bdev_io_channel *raid_ch;
|
struct raid_bdev_io_channel *raid_ch;
|
||||||
uint8_t pd_idx;
|
uint8_t pd_idx;
|
||||||
|
|
||||||
if (ret != -ENOMEM) {
|
if (ret != -ENOMEM) {
|
||||||
spdk_bdev_io_complete(bdev_io, SPDK_BDEV_IO_STATUS_FAILED);
|
spdk_bdev_io_complete(bdev_io, SPDK_BDEV_IO_STATUS_FAILED);
|
||||||
@ -410,11 +410,11 @@ raid_bdev_io_submit_fail_process(struct raid_bdev *raid_bdev, struct spdk_bdev_i
|
|||||||
static void
|
static void
|
||||||
raid_bdev_waitq_io_process(void *ctx)
|
raid_bdev_waitq_io_process(void *ctx)
|
||||||
{
|
{
|
||||||
struct raid_bdev_io *raid_io = ctx;
|
struct raid_bdev_io *raid_io = ctx;
|
||||||
struct spdk_bdev_io *bdev_io;
|
struct spdk_bdev_io *bdev_io;
|
||||||
struct raid_bdev *raid_bdev;
|
struct raid_bdev *raid_bdev;
|
||||||
int ret;
|
int ret;
|
||||||
uint64_t start_strip;
|
uint64_t start_strip;
|
||||||
|
|
||||||
bdev_io = SPDK_CONTAINEROF(raid_io, struct spdk_bdev_io, driver_ctx);
|
bdev_io = SPDK_CONTAINEROF(raid_io, struct spdk_bdev_io, driver_ctx);
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user