Skip to content

Commit

Permalink
Revert "Fix checksumming on filesystems that don't support fattr."
Browse files Browse the repository at this point in the history
This reverts commit bcb0f30.

It appears locally-computed checksums are not meant to be supported
on filesystems without extended attributes.  In that case, the
admin write their own scripts for checksum calculation.
  • Loading branch information
bbockelm committed Jul 21, 2018
1 parent 8987840 commit b126f31
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/XrdXrootd/XrdXrootdXeq.cc
Original file line number Diff line number Diff line change
Expand Up @@ -432,13 +432,11 @@ int XrdXrootdProtocol::do_CKsum(char *algT, const char *Path, char *Opaque)

// Diagnose any hard errors
//
if (rc && (myError.getErrInfo() != ENOTSUP)) {
return fsError(rc, 0, myError, Path, Opaque);
}
if (rc) return fsError(rc, 0, myError, Path, Opaque);

// Return result if it is actually available
//
if (!rc && *csData)
if (*csData)
{if (*csData == '!') return Response.Send(csData+1);
struct iovec iov[4] = {{0,0}, {algT, (size_t)CKTLen}, {&Space, 1},
{(char *)csData, strlen(csData)+1}};
Expand Down

0 comments on commit b126f31

Please sign in to comment.