Bug 765122 (GLUSTER-3390)

Summary: Make mem_put mimic free() call
Product: [Community] GlusterFS Reporter: shishir gowda <sgowda>
Component: coreAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: mainlineCC: amarts, gluster-bugs, nsathyan, shylesh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description shishir gowda 2011-08-11 05:55:20 UTC
Make mem_put only take the ptr to be freed.
This requires saving the mem_pool ptr in the headers.
This can prevent incorrect mem-pool ptr passed to mem-put.

Comment 1 Anand Avati 2011-08-25 16:01:10 UTC
CHANGE: http://review.gluster.com/205 (The header of the ptr returned from mem-pool will now store the) merged in master by Vijay Bellur (vijay)

Comment 2 shylesh 2011-09-28 07:21:45 UTC
This is related to source code enhancements and not exposed to user level functionality hence marking as verified