Bug 763984 (GLUSTER-2252)

Summary: unreffing of inodes not done when memory allocation fails
Product: [Community] GlusterFS Reporter: Junaid <junaid>
Component: fuseAssignee: Csaba Henk <csaba>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 3.1.1CC: aavati, anush, gluster-bugs, lakshmipathi, rahulcs, vagarwal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTNR Mount Type: All
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Junaid 2010-12-28 06:40:57 UTC
While allocating memory to the path variable in loc_copy and if it fails there is no unreffing of inodes. This problem is in both nfs_loc_copy and loc_copy in xlator.c.

Comment 1 Anand Avati 2010-12-29 15:20:45 UTC
PATCH: http://patches.gluster.com/patch/5935 in master (xlator.c: Unrefing inode's on error in loc_copy.)

Comment 2 Anand Avati 2010-12-29 15:20:50 UTC
PATCH: http://patches.gluster.com/patch/5936 in master (nfs/server: unrefing inodes on error in nfs_loc_copy ().)

Comment 3 shishir gowda 2011-08-03 03:27:48 UTC
*** Bug 3304 has been marked as a duplicate of this bug. ***