path: root/libglusterfsclient
diff options
authorShehjar Tikoo <>2009-11-04 00:16:45 +0000
committerAnand V. Avati <>2009-11-03 22:09:52 -0800
commit3624eb02435d6c0b6035aa4a00baf53fd2604253 (patch)
treebd5e654e2e0917a046f615cf1c21f59cb24fa522 /libglusterfsclient
parentfb50e361504a1daf39944e685dbd7f357f5f74f0 (diff)
libglusterfsclient: Dont alloc root inode context
....because the lookup on root inode done a few lines before this call already allocates an inode context. This one just over-writes that context, results in invalidation of the cached iattrs. Signed-off-by: Shehjar Tikoo <> Signed-off-by: Anand V. Avati <> BUG: 354 (Stale file handle on unfs3 booster) URL:
Diffstat (limited to 'libglusterfsclient')
1 files changed, 0 insertions, 1 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c
index 0066ffc24..c1b5c03c1 100755
--- a/libglusterfsclient/src/libglusterfsclient.c
+++ b/libglusterfsclient/src/libglusterfsclient.c
@@ -1375,7 +1375,6 @@ glusterfs_init (glusterfs_init_params_t *init_ctx, uint32_t fakefsid)
return NULL;
libgf_client_loc_wipe (&new_loc);
- libgf_alloc_inode_ctx (ctx, ctx->itable->root);
first_init = 0;