* [PATCH] nfsd/nfs3: remove unused macro nfsd3_fhandleres
@ 2020-11-06 5:40 Alex Shi
2020-11-06 14:29 ` Chuck Lever
0 siblings, 1 reply; 2+ messages in thread
From: Alex Shi @ 2020-11-06 5:40 UTC (permalink / raw)
To: bfields; +Cc: Chuck Lever, linux-nfs, linux-kernel
The macro is unused, remove it to tame gcc warning:
fs/nfsd/nfs3proc.c:702:0: warning: macro "nfsd3_fhandleres" is not used
[-Wunused-macros]
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Chuck Lever <chuck.lever@oracle.com>
Cc: linux-nfs@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
fs/nfsd/nfs3proc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c
index 781e265921aa..6e79bae0af4d 100644
--- a/fs/nfsd/nfs3proc.c
+++ b/fs/nfsd/nfs3proc.c
@@ -687,7 +687,6 @@
#define nfsd3_mkdirargs nfsd3_createargs
#define nfsd3_readdirplusargs nfsd3_readdirargs
#define nfsd3_fhandleargs nfsd_fhandle
-#define nfsd3_fhandleres nfsd3_attrstat
#define nfsd3_attrstatres nfsd3_attrstat
#define nfsd3_wccstatres nfsd3_attrstat
#define nfsd3_createres nfsd3_diropres
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] nfsd/nfs3: remove unused macro nfsd3_fhandleres
2020-11-06 5:40 [PATCH] nfsd/nfs3: remove unused macro nfsd3_fhandleres Alex Shi
@ 2020-11-06 14:29 ` Chuck Lever
0 siblings, 0 replies; 2+ messages in thread
From: Chuck Lever @ 2020-11-06 14:29 UTC (permalink / raw)
To: Alex Shi; +Cc: Bruce Fields, Linux NFS Mailing List, linux-kernel
> On Nov 6, 2020, at 12:40 AM, Alex Shi <alex.shi@linux.alibaba.com> wrote:
>
> The macro is unused, remove it to tame gcc warning:
> fs/nfsd/nfs3proc.c:702:0: warning: macro "nfsd3_fhandleres" is not used
> [-Wunused-macros]
>
> Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
> Cc: "J. Bruce Fields" <bfields@fieldses.org>
> Cc: Chuck Lever <chuck.lever@oracle.com>
> Cc: linux-nfs@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> ---
> fs/nfsd/nfs3proc.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c
> index 781e265921aa..6e79bae0af4d 100644
> --- a/fs/nfsd/nfs3proc.c
> +++ b/fs/nfsd/nfs3proc.c
> @@ -687,7 +687,6 @@
> #define nfsd3_mkdirargs nfsd3_createargs
> #define nfsd3_readdirplusargs nfsd3_readdirargs
> #define nfsd3_fhandleargs nfsd_fhandle
> -#define nfsd3_fhandleres nfsd3_attrstat
> #define nfsd3_attrstatres nfsd3_attrstat
> #define nfsd3_wccstatres nfsd3_attrstat
> #define nfsd3_createres nfsd3_diropres
> --
> 1.8.3.1
Applied to cel-next, thanks Alex.
The topic branch that collects patches for nfsd-5.11 is here:
http://git.linux-nfs.org/?p=cel/cel-2.6.git;a=shortlog;h=refs/heads/cel-next
--
Chuck Lever
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-06 14:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-06 5:40 [PATCH] nfsd/nfs3: remove unused macro nfsd3_fhandleres Alex Shi
2020-11-06 14:29 ` Chuck Lever
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).