Skip to content

Commit

Permalink
[Server] Correct previous update on incompatible export attributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed Jun 20, 2020
1 parent 647c22b commit c91ce98
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/XrdOuc/XrdOucExport.cc
Expand Up @@ -196,17 +196,9 @@ XrdOucPList *XrdOucExport::ParsePath(XrdOucStream &Config, XrdSysError &Eroute,
rpval |= XRDEXP_FORCERO;
}

// cache conflicts with mig or purge
//
if ((rpval & XRDEXP_PFCACHE) && (rpval & XRDEXP_MIGPRG))
{Eroute.Emsg("config", "cache attribute is incompatible with "
"mig and purge attributes.");
return 0;
}

// noxattr conflicts with mig or purge
//
if ((rpval & XRDEXP_PFCACHE) && (rpval & XRDEXP_MIGPRG))
if ((rpval & XRDEXP_NOXATTR) && (rpval & XRDEXP_MIGPRG))
{Eroute.Emsg("config", "noxattrs attribute is incompatible with "
"mig and purge attributes.");
return 0;
Expand Down

0 comments on commit c91ce98

Please sign in to comment.