50cbc74a82
Remove the redundant sector size check; the generic bdev code already checks for this. Also use the bdev blocklen field for both offset and size calculations. The bdev blocklen is the same as the namespace sector size. Change-Id: Ia8061eb4cfc229d4b6fbe2caabf2dd81656bc697 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/372862 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>