summaryrefslogtreecommitdiff
path: root/net/sunrpc/xprtrdma
diff options
context:
space:
mode:
authorSicong Huang <huangsicong@iie.ac.cn>2023-10-12 11:34:58 +0300
committerChuck Lever <chuck.lever@oracle.com>2023-10-16 19:44:40 +0300
commit2ffda63c98f4eb2fdca49a93017bed1ad3ae00e7 (patch)
tree166ad70500cfda8a9a3834a4df056c04b82a651e /net/sunrpc/xprtrdma
parent6939ace1f22681fface7841cdbf34d3204cc94b5 (diff)
downloadlinux-2ffda63c98f4eb2fdca49a93017bed1ad3ae00e7.tar.xz
NFSD: clean up alloc_init_deleg()
Modify the conditional statement for null pointer check in the function 'alloc_init_deleg' to make this function more robust and clear. Otherwise, this function may have potential pointer dereference problem in the future, when modifying or expanding the nfs4_delegation structure. Signed-off-by: Sicong Huang <huangsicong@iie.ac.cn> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/xprtrdma')
0 files changed, 0 insertions, 0 deletions