Spdk/test
Daniel Verkamp 5faa855989 ut/lvol: avoid using empty struct
Add a field to the unit test mocked version of struct spdk_blob_store to
avoid having an empty struct.

Fixes build warning with scan-build:

  lvol_ut.c:86:7: warning: Call to 'calloc' has an allocation size of 0
  bytes
          bs = calloc(1, sizeof(*bs));
               ^~~~~~~~~~~~~~~~~~~~~~

Change-Id: If7e48b4cce167ad12f475861bbd6ed4c751febfd
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/380816
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-10-06 17:14:44 -04:00
..
app test: Add a bdev management service 2017-08-02 18:04:55 -04:00
blobfs/rocksdb test/blobfs: add timing for rocksdb benchmarks 2017-09-20 19:33:50 -04:00
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt test/iscsi: increase number of LUNs in lvol backend test 2017-10-06 16:37:27 -04:00
lib blob_bdev: hotremove support 2017-09-28 12:46:18 -04:00
nvmf lvol: allow to configure cluster size of lvol store 2017-10-02 13:45:12 -04:00
unit ut/lvol: avoid using empty struct 2017-10-06 17:14:44 -04:00
vhost test/vhost: run controllers on different cores in lvol test 2017-10-06 15:31:58 -04:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00