cluster/afr: Associate the inode returned by inode_link() with corresponding entry

        Backport of: http://review.gluster.org/9254

Change-Id: I7d2be4d41413f4df7d0b2d1d545d61f384f7a0c3
BUG: 1138897
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/9260
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Tested-by: Raghavendra Bhat <raghavendra@redhat.com>