libnvdimm, btt: cache sector_size in arena_info
authorVishal Verma <vishal.l.verma@intel.com>
Thu, 31 Aug 2017 01:36:01 +0000 (19:36 -0600)
committerDan Williams <dan.j.williams@intel.com>
Thu, 31 Aug 2017 22:05:10 +0000 (15:05 -0700)
commit75892004508260df72ed3d319f10d2acd516220e
tree773a223d84c3b39c6440b030f56597e95f96842c
parent1398199d849047c59acef0c04e550b47bb9b4be6
libnvdimm, btt: cache sector_size in arena_info

In preparation for the error clearing rework, add sector_size in the
arena_info struct.

Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/btt.c
drivers/nvdimm/btt.h