Closes DMC-1004: Map NONE locality

parent e74f321e
......@@ -82,6 +82,7 @@ extern "C"
#define GFAL_XATTR_STATUS_UNKNOWN "UNKNOWN"
#define GFAL_XATTR_STATUS_LOST "LOST"
#define GFAL_XATTR_STATUS_UNAVAILABLE "UNAVAILABLE"
#define GFAL_XATTR_STATUS_NONE "NONE"
/** space reporting */
#define GFAL_XATTR_SPACETOKEN "spacetoken"
......
......@@ -46,6 +46,9 @@ void gfal_srm_status_copy(TFileLocality loc, char *buff, size_t s_buff)
case GFAL_LOCALITY_ONLINE_USCOREAND_USCORENEARLINE:
org_string = GFAL_XATTR_STATUS_NEARLINE_ONLINE;
break;
case GFAL_LOCALITY_NONE_:
org_string = GFAL_XATTR_STATUS_NONE;
break;
default:
org_string = GFAL_XATTR_STATUS_UNKNOWN;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment