Hide Forgot
The check for a failed glusterfs_getxattr checks the return value instead of errno for checking the status of glusterfs_getxattr. Same for lgetxattr.
PATCH: http://patches.gluster.com/patch/2082 in master (booster: Must check errno for error number not return value)
PATCH: http://patches.gluster.com/patch/2085 in release-2.0 (booster: Must check errno for error number not return value)