Malahal has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/450054
Change subject: Release dupreq's ref on drc just before freeing the dupreq.
......................................................................
Release dupreq's ref on drc just before freeing the dupreq.
Currently it is released when the dupreq is taken out of the hash table,
but we may access drc from dupreq when it is not in the hash table.
A request gets a ref on drc as well as dupreq. At the end of processing
the request, we release the ref on dupreq and let the dupreq release the
ref on drc as dupreq has access to drc. So it makes sense to release the
ref on drc when we are about to free the dupreq.
Change-Id: I205201b7b8b8bd9d862545d0915178d5015b21ea
Signed-off-by: Malahal Naineni <malahal(a)us.ibm.com>
---
M src/RPCAL/nfs_dupreq.c
1 file changed, 7 insertions(+), 7 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/54/450054/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/450054
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I205201b7b8b8bd9d862545d0915178d5015b21ea
Gerrit-Change-Number: 450054
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <malahal(a)gmail.com>
Gerrit-MessageType: newchange