Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp186033pxb; Wed, 13 Jan 2021 00:38:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqhIelgX4Jia7Nga3GEv5Ij3lL9rGDplM/NPArce3Exv+kYRSg+gwh7HlW45tgiKZhLV/d X-Received: by 2002:a17:906:a008:: with SMTP id p8mr777925ejy.117.1610527084942; Wed, 13 Jan 2021 00:38:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610527084; cv=none; d=google.com; s=arc-20160816; b=dQdg5811S95wnYsL5znhiPEOkNt8GUw9MkH9mvWjxhgZBMmgr4kkZSV4uY4gxEJE9S C+WftT2XEOT6R/Sdj298ciQC/V2TKwV1EFknVvFfL/KQLk8F1jbaniMGo5XNPogwqQHw 5nRNVaIUr7c8/549ECCUDJ5AOFW+myayikJ1h7hHZgBkEFzSNBAQ8ElYEbXR2ypQR5id kjUrCYTKfMES5xJPZa9Wm5Qwga4Np8U0c2mXBHyqaXX1T8l+1whtnrAjeAje3QzfyDTw c1rxPtFenqLmfwXYUMx1Tveo7l7zrdo+Yr+/BH8YJYAc79Rekps+MsbsB4movoBuw8rs U7Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=QFrd8/Cm4EwX8Y7araktIbSjoBlmXGo8qHRYothcUyU=; b=draPbf1t11WdsqoBzR8+UqIY7gH9P7nySSWESnk28kjKVFftknPqtLgAPb6tB9XL6u Vh/b5vsEedivkAmUIRqjl02cxebXXxzBjNem3U6dUDJ6lCYBtxGJHMYuuwO5j1MpiBkI lQ1CzG7lDNG4k53HYJ/xJHcg78N+KSHDfBE9YLgb+gl0JqxI8FmzQ/BcLxGw4h8Qu5a/ ENnt5T8d2/WwEIh6EFYhsBVrTTuclxKPs4UEg2gTflOF7rFJhT80qsTfb+HAHHNwS8xv HGaW3vWKKEP/6Q09Mi7+R0Ddb5rD66cLiLThTvYZbQy0bqgThBfeamo/xknVs9fXoYej C5qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm2 header.b=Kc5lJDiY; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=SwWlAa8L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si703577edv.446.2021.01.13.00.37.40; Wed, 13 Jan 2021 00:38:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kroah.com header.s=fm2 header.b=Kc5lJDiY; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=SwWlAa8L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726701AbhAMIga (ORCPT + 99 others); Wed, 13 Jan 2021 03:36:30 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:44535 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725823AbhAMIg3 (ORCPT ); Wed, 13 Jan 2021 03:36:29 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id DC04E5C04B6; Wed, 13 Jan 2021 03:35:42 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 13 Jan 2021 03:35:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=QFrd8/Cm4EwX8Y7araktIbSjoBl mXGo8qHRYothcUyU=; b=Kc5lJDiYtkhMTO7ecGVPIhoQYr5AUQEoty0oA+U8XVN b7XttLCYOcLbaJMf6RPAljjcuVDRSqxPgmukEK2zvWtPKKy3LxevMkLGtUjqTbiD nRYh02JKFktwEm2CxlTtu2gJTb4ZXQb9jmU0gwFtxH4JPBQX3E809PBrSn5n+x+b ML0n9ctNnAk4BVSdLyHrb/RrvAvMtG1wyz80aPqH0IfJegZFU370ysrYPfuW0vSo QhrzCAbzbgvWcz9XwVtDjn4ydVjRkZQZu51lbGhBvQRZbRzb3+DF/5p/sq+WRYdE kO7bHfQyv0eJ55S3rvZQTW5Q5F4nz5JiECbUkm8mHDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=QFrd8/ Cm4EwX8Y7araktIbSjoBlmXGo8qHRYothcUyU=; b=SwWlAa8LMivcmJGLD1cwjv suhdxuYwhuXHJlAy1GSEdpl1uXcy4ShehvrNaPVmfwwEmewzJmZWVIw+e4Mumxva 3B8pGLaRYornUZzuT51RlsLaG2QHVBfLouoON2+znNxLS3dK4KJKa5GyAzvSeLJX FZg9lB2KtXRgCy3kICY0BHybOpNP8+tXo80cAskFthG04zUPt44bZ6fjkT2PyAQA Hme38ep5tBjjhquaq6JIqQu/OYqPE7ArIPBKeRYG0b17i/X2F53dLS8U7JDBwHkJ S1rf7ZEUUua5CNXojfWMZ3+cSL3GAtWu6xb50jFee2wY5eBGokkerk79hA6U9dNg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedukedrtddugdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpeeuleeltd ehkeeltefhleduuddvhfffuedvffduveegheekgeeiffevheegfeetgfenucffohhmrghi nhepkhgvrhhnvghlrdhorhhgnecukfhppeekfedrkeeirdejgedrieegnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorghh rdgtohhm X-ME-Proxy: Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) by mail.messagingengine.com (Postfix) with ESMTPA id 356DD1080059; Wed, 13 Jan 2021 03:35:42 -0500 (EST) Date: Wed, 13 Jan 2021 09:35:40 +0100 From: Greg KH To: Dan Williams Cc: linux-mm@kvack.org, Vishal Verma , Dave Jiang , Ira Weiny , stable@vger.kernel.org, linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 6/6] libnvdimm/namespace: Fix visibility of namespace resource attribute Message-ID: References: <161052331545.1805594.2356512831689786960.stgit@dwillia2-desk3.amr.corp.intel.com> <161052334995.1805594.12054873528154362921.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <161052334995.1805594.12054873528154362921.stgit@dwillia2-desk3.amr.corp.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Cc: Dave Jiang > Cc: Ira Weiny > Cc: > Signed-off-by: Dan Williams > --- > drivers/nvdimm/namespace_devs.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) 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.