lvol: ensure enum for lvol clear method is the same as blobstore

Explicitly assign values for lvol clear method to be the same as in
blobstore.

Change-Id: Iff19d3ff14929d2160280be1483f0ff282dc2227
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/446505
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Tomasz Zawadzki 2019-02-28 04:57:30 -05:00 committed by Jim Harris
parent ca87060dcc
commit 65817041ba

View File

@ -50,10 +50,10 @@ struct spdk_lvol_store;
struct spdk_lvol;
enum lvol_clear_method {
LVOL_CLEAR_WITH_DEFAULT,
LVOL_CLEAR_WITH_NONE,
LVOL_CLEAR_WITH_UNMAP,
LVOL_CLEAR_WITH_WRITE_ZEROES,
LVOL_CLEAR_WITH_DEFAULT = BLOB_CLEAR_WITH_DEFAULT,
LVOL_CLEAR_WITH_NONE = BLOB_CLEAR_WITH_NONE,
LVOL_CLEAR_WITH_UNMAP = BLOB_CLEAR_WITH_UNMAP,
LVOL_CLEAR_WITH_WRITE_ZEROES = BLOB_CLEAR_WITH_WRITE_ZEROES,
};
enum lvs_clear_method {