catch up with 4911659 on OS X
catch up with 4911659 on OS X

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

BUG: 952 (EBADF returned by server-protocol confuses AFR)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=952

Kaushikbv/Gluster,Kaushikbv/Gluster,Kaushikbv/Gluster