libnvdimm, namespace: refactor uuid_show() into a namespace_to_uuid() helper
authorDan Williams <dan.j.williams@intel.com>
Thu, 22 Sep 2016 01:16:21 +0000 (18:16 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 6 Oct 2016 03:24:18 +0000 (20:24 -0700)
commitf95b4bca9e7d29db284f9b175edf8deca1489def
treedfe75bf0ef883c9c84ececaf336cb16972c19449
parentae8219f186d8e98a3239afc6ea49bb46f2871d2f
libnvdimm, namespace: refactor uuid_show() into a namespace_to_uuid() helper

The ability to translate a generic struct device pointer into a
namespace uuid is a useful utility as we go to unify the blk and pmem
label scanning paths.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/namespace_devs.c