diff options
author | shishir gowda <shishirng@gluster.com> | 2010-11-17 23:36:06 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-11-18 05:56:05 -0800 |
commit | e111591585c8e5f3c8404b72ad13b5f5580c25c4 (patch) | |
tree | 35e9fcf341eb4bb40b189588dfe466f7d97bef03 /xlators/mount | |
parent | 001a44f7dc6cec6fb5ce555ce583af4428cc471d (diff) |
Remove spurious inode_ref call on parent dir in fuse_create_cbk
The additional ref caused leaks. The ref is taken in __dentry_create
called from inode_link
Signed-off-by: shishir gowda <shishirng@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 2117 ([glusterfs-3.1.1qa7]: memleak in glusterfsd)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2117
Diffstat (limited to 'xlators/mount')
-rw-r--r-- | xlators/mount/fuse/src/fuse-bridge.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index dfa6b899a..6ce2e12ba 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -1471,7 +1471,6 @@ fuse_create_cbk (call_frame_t *frame, void *cookie, xlator_t *this, inode_lookup (linked_inode); - inode_ref (state->loc.parent); inode_unref (linked_inode); fd_ref (fd); |