Bug 765122 (GLUSTER-3390) - Make mem_put mimic free() call
Summary: Make mem_put mimic free() call
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3390
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-11 05:55 UTC by shishir gowda
Modified: 2013-12-09 01:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.