Thread (12 messages) 12 messages, 4 authors, 2021-01-13

Re: [PATCH v3 6/6] libnvdimm/namespace: Fix visibility of namespace resource attribute

From: Greg KH <hidden>
Date: 2021-01-13 08:36:52
Also in: lkml, nvdimm, stable

On Tue, Jan 12, 2021 at 11:35:50PM -0800, Dan Williams wrote:
Legacy pmem namespaces lost support for the "resource" attribute when
the code was cleaned up to put the permission visibility in the
declaration. Restore this by listing 'resource' in the default
attributes.

A new ndctl regression test for pfn_to_online_page() corner cases builds
on this fix.

Fixes: bfd2e9140656 ("libnvdimm: Simplify root read-only definition for the 'resource' attribute")
Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Ira Weiny <redacted>
Cc: <redacted>
Signed-off-by: Dan Williams <redacted>
---
 drivers/nvdimm/namespace_devs.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help