Fix errno check.

Conflicts:
	src/FSAL/FSAL_GPFS/fsal_ds.c

Signed-off-by: Marc Eshel <eshel@us.ibm.com>
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>