summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2010-04-11 19:08:48 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-04-13 10:01:45 -0700
commit3d125eaed2fbf71c8c6dcddd45a9fa61ef4a4448 (patch)
tree741def35b151f0b682b6cb912b3cc2bb7c56ba8c /xlators/mount/fuse
parent28818a5371e306a5cc0970f359aa5f20c8769794 (diff)
fuse: fix too early freeing
Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 755 (Fuse loc error when files are created and deleted simultaneously) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=755
Diffstat (limited to 'xlators/mount/fuse')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index ada09f5b83b..ac766e772a7 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -585,8 +585,8 @@ fuse_lookup (xlator_t *this, fuse_in_header_t *finh, void *msg)
gf_log ("glusterfs-fuse", GF_LOG_WARNING,
"%"PRIu64": LOOKUP %"PRIu64"/%s (fuse_loc_fill() failed)",
finh->unique, finh->nodeid, name);
- free_state (state);
send_fuse_err (this, finh, ENOENT);
+ free_state (state);
return;
}