libglusterfsclient: Fill new loc with target's ino on link
libglusterfsclient: Fill new loc with target's ino on link

In the loc_t of the link being created, we must fill in the inode
of the old/target loc since this is a link operation. The
inode_link to the new parent is called in libgf_client_link.

This fixes a crash while running fileop over a fully-loaded
dist-repl vol file.
Ref: Bugzilla 161

Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 161 (unfs3 crashes on link system call by fileop)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=161

Kaushikbv/Gluster,Kaushikbv/Gluster,Kaushikbv/Gluster