Description of problem: Check_is_linkfile is failing, entry of readdip does not have dict set. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. create file 2. rename file till link file is created 3. ls -l on dir Actual results: 2 entries show for same file Expected results: 1 entry should be shown Additional info: This because we were not sending the dict (with linkto key) to server. client protocol needs to propogate the right dict. Additionally, we needed to allocated dict in readdirp_cbk for each entry before we unserialize the buffer
CHANGE: http://review.gluster.com/2803 (protocol/client: Pass correct dict in client_readdirp) merged in master by Vijay Bellur (vijay)
*** Bug 796701 has been marked as a duplicate of this bug. ***
Verified on release-3.3 (commit-id 0cdb1d147afd644153855f6557bf7e809e5444f0)