diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-01-09 17:30:49 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-01-13 09:50:33 -0800 |
commit | 1f19b983a8877f81763fab3e693c6befe212736d (patch) | |
tree | 50ee1df98f5c1beb59f922c7d0cb76833b4956d7 /tools/perf/builtin-stat.c | |
parent | d47d1d27fd6206c18806440f6ebddf51a806be4f (diff) |
libnvdimm, namespace: fix pmem namespace leak, delete when size set to zero
Commit 98a29c39dc68 ("libnvdimm, namespace: allow creation of multiple
pmem-namespaces per region") added support for establishing additional
pmem namespace beyond the seed device, similar to blk namespaces.
However, it neglected to delete the namespace when the size is set to
zero.
Fixes: 98a29c39dc68 ("libnvdimm, namespace: allow creation of multiple pmem-namespaces per region")
Cc: <stable@vger.kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/builtin-stat.c')
0 files changed, 0 insertions, 0 deletions