Zhu Shangzhong has uploaded this change for review.
Coverity: check if data->session is NULL after deref
In nfs4_op_reclaim_complete, the pointer data->session has been
dereferenced in the statement "nfs_client_id_t
*clientid = data->session->clientid_record;" at the beginning. The "if"
condition "if (data->session == NULL)" is no effect. So the "if"
condition may be removed.
Change-Id: Ia3d62cc8957aca9e006fa954619126639cdda9fa
Signed-off-by: Shangzhong Zhu <zhu.shangzhong@zte.com.cn>
---
M src/Protocols/NFS/nfs4_op_reclaim_complete.c
1 file changed, 0 insertions(+), 5 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/35/464535/1
To view, visit change 464535. To unsubscribe, or for help writing mail filters, visit settings.