This is an automated email from the ASF dual-hosted git repository. zwoop pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 33cc9e243047615b76b279c5ee4690c369c4d962 Author: Leif Hedstrom <[email protected]> AuthorDate: Fri May 24 16:49:43 2019 -0600 Step 11: Removes statVersion() --- mgmt/Rollback.cc | 12 ------------ mgmt/Rollback.h | 1 - 2 files changed, 13 deletions(-) diff --git a/mgmt/Rollback.cc b/mgmt/Rollback.cc index e56fa32..a669f55 100644 --- a/mgmt/Rollback.cc +++ b/mgmt/Rollback.cc @@ -257,18 +257,6 @@ Rollback::extractVersionInfo(ExpandingArray *listNames, const char *testFileName return version; } -int -Rollback::statVersion(version_t version, struct stat *buf) -{ - int r; - - ink_mutex_acquire(&fileAccessLock); - r = this->statFile(version, buf); - ink_mutex_release(&fileAccessLock); - - return r; -} - bool Rollback::setLastModifiedTime() { diff --git a/mgmt/Rollback.h b/mgmt/Rollback.h index 27b1bbc..9f9a7e8 100644 --- a/mgmt/Rollback.h +++ b/mgmt/Rollback.h @@ -117,7 +117,6 @@ public: // Automatically take out lock bool checkForUserUpdate(); - int statVersion(version_t, struct stat *buf); bool setLastModifiedTime(); // Lock not necessary since these are only valid for a
