Skip to content

Some cleanups and bugfixes for nfs client callback

Kinglong Mee linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8NFS: Get rid of the unneeded addr stored in callback argumentsfs/nfs/callback.h fs/nfs/callback_xdr.c+0 -100 replies
2/8NFS: Remove the left global variable nfs_callback_tcpportfs/nfs/callback.h fs/nfs/super.c+0 -30 replies
3/8NFS: Remove the left function defines in callback.hfs/nfs/callback.h+0 -60 replies
4/8NFS: Remove unneeded NFS_DEBUG checking before define NFSDBG_FACILITYfs/nfs/callback_proc.c fs/nfs/mount_clnt.c+1 -50 replies
5/8NFS: Use NFS4_MAX_SESSIONID_LEN directly for decode/encode sessionidfs/nfs/callback_xdr.c+4 -60 replies
6/8NFS: Fix bad defines of callback response maxsizefs/nfs/callback_xdr.c+10 -80 replies
7/8NFS: Fix bad checking of max taglen in callback requestfs/nfs/callback_xdr.c+1 -10 replies
8/8NFS: Return directly if encode_sessionid failfs/nfs/callback_xdr.c+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Some cleanups and bugfixes for nfs client callback

The first five are cleanups, and last three are bugfixes for nfs client callback.

Kinglong Mee (8):
NFS: Get rid of the unneeded addr stored in callback arguments
NFS: Remove the left global variable nfs_callback_tcpport
NFS: Remove the left function defines in callback.h
NFS: Remove unneeded NFS_DEBUG checking before define NFSDBG_FACILITY
NFS: Use NFS4_MAX_SESSIONID_LEN directly for decode/encode sessionid
NFS: Fix bad defines of callback response maxsize
NFS: Fix bad checking of max taglen in callback request
NFS: Return directly if encode_sessionid fail

 fs/nfs/callback.h      | 12 ------------
 fs/nfs/callback_proc.c |  2 --
 fs/nfs/callback_xdr.c  | 39 ++++++++++++++++++---------------------
 fs/nfs/mount_clnt.c    |  4 +---
 fs/nfs/super.c         |  2 --
 5 files changed, 19 insertions(+), 40 deletions(-)
Signature · 1 line
2.5.0