now the lookup/statfs etc codes need 'gfid' and not path or 'ino'. Hence need to fill the right value in the loc_t structure to get it working.
http://review.gluster.com/2767 fixes the issue, and is committed.