libnvdimm, btt: clean up internal interfaces
authorVishal Verma <vishal.l.verma@intel.com>
Wed, 29 Jul 2015 20:58:07 +0000 (14:58 -0600)
committerDan Williams <dan.j.williams@intel.com>
Fri, 14 Aug 2015 17:43:04 +0000 (13:43 -0400)
commitfbde1414acc0440024083bf0c391b259bcfc4826
treea9130d2912234cc043d9d56167153bcfc98718b0
parentf6ef5a2a50816b58e3126206de13d0b9fdf89df5
libnvdimm, btt: clean up internal interfaces

Consolidate the parameters passed to arena_is_valid into just nd_btt,
and an info block to increase re-usability.

Similarly, btt_arena_write_layout doesn't need to be passed a uuid, as
it can be obtained from arena->nd_btt.

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