Use the existing bdev_null_destruct() function instead of open-coding the bdev cleanup; the bdev_null_finish() path neglected to free the bdev name. Change-Id: Ie74be39b0475674f70c3999bbe2f21caab2e2e20 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/389867 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
bdev_null_rpc.c | ||
bdev_null.c | ||
bdev_null.h | ||
Makefile |