add patch lock-xattr-block-before-calculating-checksum