summaryrefslogtreecommitdiff
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-04-07 19:59:27 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-20 15:41:54 +0900
commit966bf1bea449c9f0ef89051b2025c748d28baa2b (patch)
tree2680fe71f181aeede49d19c404cf05918d72a8d3 /include/linux/compiler-gcc.h
parentfa07cf6613c9cfb744be453005db2268d1811e73 (diff)
libnvdimm, pfn: fix uuid validation
commit e5670563f588ed1c0603819350c0f02cec23f5c5 upstream. 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. Reported-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions