nvdimm, btt: add a size attribute for BTTs
authorVishal Verma <vishal.l.verma@intel.com>
Wed, 27 Jul 2016 22:38:59 +0000 (16:38 -0600)
committerDan Williams <dan.j.williams@intel.com>
Mon, 8 Aug 2016 16:26:14 +0000 (09:26 -0700)
commitabe8b4e3cef88b8202641d63f5ad58141b970b0f
treeb52e23c0f87ac191907395db7d5fae85fd1383f7
parent68202c9f0ad6e16ee806fbadbc5838d55fe5aa5c
nvdimm, btt: add a size attribute for BTTs

To be consistent with other namespaces, expose a 'size' attribute for
BTT devices also.

Cc: Dan Williams <dan.j.williams@intel.com>
Reported-by: Linda Knippers <linda.knippers@hpe.com>
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_devs.c
drivers/nvdimm/nd.h