summaryrefslogtreecommitdiff
path: root/fs/fuse/dev.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-01-10 01:30:49 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-26 07:24:37 (GMT)
commit3c4d83a1a41efdf2c191d0072e6545e6bf8ecc94 (patch)
treed5493965e47a900af1307a9be50fc9bf76c6849d /fs/fuse/dev.c
parentf29f3616b9328e17f902f1839634b2440ca07982 (diff)
downloadlinux-3c4d83a1a41efdf2c191d0072e6545e6bf8ecc94.tar.xz
libnvdimm, namespace: fix pmem namespace leak, delete when size set to zero
commit 1f19b983a8877f81763fab3e693c6befe212736d upstream. 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") Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/fuse/dev.c')
0 files changed, 0 insertions, 0 deletions