libglusterfsclient: Avoid overwrite of inode found through ino number
libglusterfsclient: Avoid overwrite of inode found through ino number

In libgf_client_loc_fill, there is a possibility that all
the ino, par and name are specified as non-NULL,non-zero args.

So if an inode is located in the itable using the ino and the
subsequent search for the inode using the par-ino and the file
name does not result in an inode being found, the current
code over-writes the inode that was found through the ino. The
correct behaviour is to stop further searches if inode
was already found using ino.

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