summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-11-04 00:15:20 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-03 22:21:47 -0800
commit612aed4b6aab7447195c7e6715bbbf257b4c62f2 (patch)
tree09c601a6933fa0753a0d228130c5f09406c62c49 /libglusterfsclient
parentf04b9fcfeb9b459552207031d003f801189d1cea (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 <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 354 (Stale file handle on unfs3 booster) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=354
Diffstat (limited to 'libglusterfsclient')
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c
index fbdec326734..ed60f73eec1 100755
--- a/libglusterfsclient/src/libglusterfsclient.c
+++ b/libglusterfsclient/src/libglusterfsclient.c
@@ -1376,7 +1376,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;