summaryrefslogtreecommitdiffstats
path: root/xlators
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-27 02:38:19 -0700
commit70f03fafa44e4f0f422de6f59f2db936c59a317d (patch)
treee791e65f60945d25e1c6329ad8fa56cf023ecbef /xlators
parent64a258d03665b7570ad6199c4e6211ba652b443d (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')
-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 a87bd26..d699f79 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -583,8 +583,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;
}