Bug 763984 (GLUSTER-2252) - unreffing of inodes not done when memory allocation fails
Summary: unreffing of inodes not done when memory allocation fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2252
Product: GlusterFS
Classification: Community
Component: fuse
Version: 3.1.1
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Csaba Henk
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-28 06:40 UTC by Junaid
Modified: 2013-08-06 22:36 UTC (History)
6 users (show)

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


Attachments (Terms of Use)

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. ***


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