Check whether a server is down before calling rename on the directory
Check whether a server is down before calling rename on the directory

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

BUG: 820 (distribute directory rename problem when one subvol is down)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=820

Kaushikbv/Gluster,Kaushikbv/Gluster,Kaushikbv/Gluster