diff options
author | Vishal Verma <vishal.l.verma@intel.com> | 2020-05-20 16:50:26 -0600 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2020-06-17 14:08:31 -0700 |
commit | 543094e19c82b5d171e139d09a1a3ea0a7361117 (patch) | |
tree | bc61d74fd65536c1327193e046c9480320164322 /Documentation/parisc | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) | |
download | linux-543094e19c82b5d171e139d09a1a3ea0a7361117.tar.bz2 |
nvdimm/region: always show the 'align' attribute
It is possible that a platform that is capable of 'namespace labels'
comes up without the labels properly initialized. In this case, the
region's 'align' attribute is hidden. Howerver, once the user does
initialize he labels, the 'align' attribute still stays hidden, which is
unexpected.
The sysfs_update_group() API is meant to address this, and could be
called during region probe, but it has entanglements with the device
'lockdep_mutex'. Therefore, simply make the 'align' attribute always
visible. It doesn't matter what it says for label-less namespaces, since
it is not possible to change their allocation anyway.
Suggested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/20200520225026.29426-1-vishal.l.verma@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'Documentation/parisc')
0 files changed, 0 insertions, 0 deletions