Patch "nfsd/nfs3: remove unused macro nfsd3_fhandleres" has been added to the 5.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    nfsd/nfs3: remove unused macro nfsd3_fhandleres

to the 5.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     nfsd-nfs3-remove-unused-macro-nfsd3_fhandleres.patch
and it can be found in the queue-5.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 5cd7ffcd90b9d95b5ff748030bd2915a44a12c83
Author: Alex Shi <alexs@xxxxxxxxxx>
Date:   Fri Nov 6 13:40:57 2020 +0800

    nfsd/nfs3: remove unused macro nfsd3_fhandleres
    
    [ Upstream commit 71fd721839a74d945c242299f6be29a246fc2131 ]
    
    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@xxxxxxxxxxxxxxxxx>
    Cc: "J. Bruce Fields" <bfields@xxxxxxxxxxxx>
    Cc: Chuck Lever <chuck.lever@xxxxxxxxxx>
    Cc: linux-nfs@xxxxxxxxxxxxxxx
    Cc: linux-kernel@xxxxxxxxxxxxxxx
    Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c
index 981a4e4c9a3cf..eba84417406ca 100644
--- a/fs/nfsd/nfs3proc.c
+++ b/fs/nfsd/nfs3proc.c
@@ -694,7 +694,6 @@ nfsd3_proc_commit(struct svc_rqst *rqstp)
 #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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux