Spdk/lib/blob
Mike Gerdts c1544908e0 blobstore: use common return path in blob_resize()
A future commit may need to release a lock before returning. This
refactors blob_resize() to always return at end of the function using an
out label and goto.

Signed-off-by: Mike Gerdts <mgerdts@nvidia.com>
Change-Id: I671fbdbe0e3b766c264c45589dad3a864ba1f192
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15982
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Community-CI: Mellanox Build Bot
2022-12-20 09:19:09 +00:00
..
blob_bs_dev.c blob: Add translate_lba operation 2022-12-08 12:54:54 +00:00
blobstore.c blobstore: use common return path in blob_resize() 2022-12-20 09:19:09 +00:00
blobstore.h blobstore: convert used_lock to spinlock 2022-12-20 09:19:09 +00:00
Makefile blob: Add translate_lba operation 2022-12-08 12:54:54 +00:00
request.c blob: Use bdev copy command in CoW flow if supported 2022-12-08 12:54:54 +00:00
request.h blob: Use bdev copy command in CoW flow if supported 2022-12-08 12:54:54 +00:00
spdk_blob.map blob: Add functions to find [un]allocated io_unit 2022-09-15 08:23:56 +00:00
zeroes.c blob: Add translate_lba operation 2022-12-08 12:54:54 +00:00