summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/src/fuse-helpers.c
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2011-08-08 05:40:38 -0700
committerVijay Bellur <vijay@gluster.com>2011-08-08 05:40:38 -0700
commit05e3dcc9b131145b9fb5283af361cf2ad79db8e5 (patch)
tree77a15a4cc050bbe1d1ea6dd7fe1d6f1ee182812f /xlators/mount/fuse/src/fuse-helpers.c
parenta279af40f11a437fabc5b59234e677282bea246b (diff)
Revert "fuse: fix inode-leaks in fuse_lookup_and_resume codepath."v3.1.6qa7
This reverts commit b53d76e392f0b88a7d135f099fe52ae933050719.
Diffstat (limited to 'xlators/mount/fuse/src/fuse-helpers.c')
-rw-r--r--xlators/mount/fuse/src/fuse-helpers.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/xlators/mount/fuse/src/fuse-helpers.c b/xlators/mount/fuse/src/fuse-helpers.c
index a9f542455f7..1d06cfff1cc 100644
--- a/xlators/mount/fuse/src/fuse-helpers.c
+++ b/xlators/mount/fuse/src/fuse-helpers.c
@@ -68,15 +68,14 @@ fuse_resolve_wipe (fuse_resolve_t *resolve)
comp = resolve->components;
if (comp) {
+/*
int i = 0;
for (i = 0; comp[i].basename; i++) {
- if (comp[i].inode) {
+ if (comp[i].inode)
inode_unref (comp[i].inode);
- comp[i].inode = NULL;
- }
}
-
+*/
GF_FREE ((void *)resolve->components);
}
}