+49
−74
Loading
Right now bs_load and bs_grow paths validate the read super block in exact same way. Refactor this into separate function for reuse. Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I4d8c5d658d69d1b7901dbc1fb880330d1211ca7a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19452 Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com>