+24
−25
+5
−5
+5
−5
Loading
There is a spdk_bdev_desc pointer in base_bdev_info, which is always set together with the bdev pointer, so use that instead. It makes checking whether a base bdev is present more consistent. Before, in some places the bdev pointer was checked and in others the desc pointer. Change-Id: I5ac305b7d4b07c609b759a59f7f0fa540532ea1e Signed-off-by:Artur Paszkiewicz <artur.paszkiewicz@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18286 Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>