From e111591585c8e5f3c8404b72ad13b5f5580c25c4 Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Wed, 17 Nov 2010 23:36:06 +0000 Subject: 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 Signed-off-by: Anand V. Avati BUG: 2117 ([glusterfs-3.1.1qa7]: memleak in glusterfsd) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2117 --- xlators/mount/fuse/src/fuse-bridge.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index dfa6b899a71..6ce2e12bac3 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); -- cgit