diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-04-08 02:59:27 (GMT) |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-04-08 02:59:27 (GMT) |
commit | e5670563f588ed1c0603819350c0f02cec23f5c5 (patch) | |
tree | a90e60642e6658cc6fef630d2ee8bec39b1bcbee /drivers/nvdimm/nd.h | |
parent | 211291126698c8f047617565b2e2e7f822f86354 (diff) | |
download | linux-e5670563f588ed1c0603819350c0f02cec23f5c5.tar.xz |
libnvdimm, pfn: fix uuid validation
If we detect a namespace has a stale info block in the init path, we
should overwrite with the latest configuration. In fact, we already
return -ENODEV when the parent uuid is invalid, the same should be done
for the 'self' uuid. Otherwise we can get into a condition where
userspace is unable to reconfigure the pfn-device without directly /
manually invalidating the info block.
Cc: <stable@vger.kernel.org>
Reported-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/nd.h')
0 files changed, 0 insertions, 0 deletions