deeraj.patil(a)ibm.com has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1220813?usp=email )
Change subject: NFSv4.0: fix crash in release_cb_slot() due to uninitialized mutex.
......................................................................
NFSv4.0: fix crash in release_cb_slot() due to uninitialized mutex.
In NFSv4.0, nfsv4_granted_callback() construct of RPC done by getting the chan
and basic required entities and does the RPC. But cleanup of the same is tried
w.r.t 4.1 construct. This led to a crash from accessing an uninitialized mutex.
Ensure that nfs41_release_single() is only invoked for NFSv4.1, not for NFSv4.0.
Change-Id: Id20ef65a92c2b3d1c921141ca81a6dcd67c84a2e
Signed-off-by: Deeraj.Patil <Deeraj.Patil(a)ibm.com>
---
M src/Protocols/NFS/nfs4_op_lock.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/13/1220813/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1220813?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Id20ef65a92c2b3d1c921141ca81a6dcd67c84a2e
Gerrit-Change-Number: 1220813
Gerrit-PatchSet: 1
Gerrit-Owner: deeraj.patil(a)ibm.com