Wrong variable is checked after stat call.
Wrong variable is checked after stat call.

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

BUG: 355 (Wrong variable checked after a stat call)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=355

Kaushikbv/Gluster,Kaushikbv/Gluster,Kaushikbv/Gluster