From a056d37d27862e3b3489bf1133587f4f0b1fe4f5 Mon Sep 17 00:00:00 2001
From: Steven Murray <Steven.Murray@cern.ch>
Date: Tue, 29 Mar 2016 22:01:54 +0200
Subject: [PATCH] Renamed XrdCtaFilesystem.?pp to XrdProFilesystem.?pp because
 that's the class inside the file

---
 xroot_plugins/CMakeLists.txt                  |  4 ++--
 ...CtaFilesystem.cpp => XrdProFilesystem.cpp} | 19 +++++++++----------
 ...CtaFilesystem.hpp => XrdProFilesystem.hpp} |  0
 3 files changed, 11 insertions(+), 12 deletions(-)
 rename xroot_plugins/{XrdCtaFilesystem.cpp => XrdProFilesystem.cpp} (99%)
 rename xroot_plugins/{XrdCtaFilesystem.hpp => XrdProFilesystem.hpp} (100%)

diff --git a/xroot_plugins/CMakeLists.txt b/xroot_plugins/CMakeLists.txt
index ec3de0ef53..789da37d8c 100644
--- a/xroot_plugins/CMakeLists.txt
+++ b/xroot_plugins/CMakeLists.txt
@@ -7,8 +7,8 @@ include_directories(${XROOTD_INCLUDE_DIR} ${XROOTD_PRIVATE_INCLUDE_DIR})
 include_directories(${CMAKE_BINARY_DIR})
 include_directories(${CMAKE_SOURCE_DIR}/tapeserver)
 
-add_library (XrdCtaOfs MODULE XrdCtaFilesystem.cpp XrdCtaFile.cpp)
+add_library (XrdCtaOfs MODULE XrdProFilesystem.cpp XrdCtaFile.cpp)
 target_link_libraries (XrdCtaOfs ctascheduler ctacommon ctanameserver ctaremotens protobuf ctaobjectstore cryptopp)
 
 INSTALL (TARGETS XrdCtaOfs DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
-INSTALL (FILES xrd.cf.cta DESTINATION ${CMAKE_INSTALL_SYSCONFDIR})
\ No newline at end of file
+INSTALL (FILES xrd.cf.cta DESTINATION ${CMAKE_INSTALL_SYSCONFDIR})
diff --git a/xroot_plugins/XrdCtaFilesystem.cpp b/xroot_plugins/XrdProFilesystem.cpp
similarity index 99%
rename from xroot_plugins/XrdCtaFilesystem.cpp
rename to xroot_plugins/XrdProFilesystem.cpp
index 2909ee4939..7da8bb69e3 100644
--- a/xroot_plugins/XrdCtaFilesystem.cpp
+++ b/xroot_plugins/XrdProFilesystem.cpp
@@ -17,28 +17,27 @@
  */
 
 #include "castor/common/CastorConfiguration.hpp"
+#include "common/admin/AdminHost.hpp"
+#include "common/admin/AdminUser.hpp"
+#include "common/archiveRoutes/ArchiveRoute.hpp"
+#include "common/archiveNS/StorageClass.hpp"
 #include "common/exception/Exception.hpp"
+#include "common/TapePool.hpp"
 #include "nameserver/mockNS/MockNameServer.hpp"
 #include "nameserver/NameServer.hpp"
+#include "objectstore/RootEntry.hpp"
+#include "objectstore/BackendFactory.hpp"
 #include "remotens/MockRemoteNS.hpp"
-#include "common/admin/AdminHost.hpp"
-#include "common/admin/AdminUser.hpp"
-#include "common/archiveRoutes/ArchiveRoute.hpp"
 #include "scheduler/ArchiveToTapeCopyRequest.hpp"
 #include "scheduler/LogicalLibrary.hpp"
 #include "scheduler/OStoreDB/OStoreDB.hpp"
 #include "scheduler/RetrieveRequestDump.hpp"
-#include "common/archiveNS/StorageClass.hpp"
 #include "scheduler/SchedulerDatabase.hpp"
-#include "common/archiveNS/StorageClass.hpp"
-#include "common/TapePool.hpp"
-#include "XrdCtaFilesystem.hpp"
-#include "XrdCtaFile.hpp"
 #include "XrdOuc/XrdOucString.hh"
 #include "XrdSec/XrdSecEntity.hh"
 #include "XrdVersion.hh"
-#include "objectstore/RootEntry.hpp"
-#include "objectstore/BackendFactory.hpp"
+#include "xroot_plugins/XrdProFilesystem.hpp"
+#include "xroot_plugins/XrdCtaFile.hpp"
 
 #include <memory>
 #include <iostream>
diff --git a/xroot_plugins/XrdCtaFilesystem.hpp b/xroot_plugins/XrdProFilesystem.hpp
similarity index 100%
rename from xroot_plugins/XrdCtaFilesystem.hpp
rename to xroot_plugins/XrdProFilesystem.hpp
-- 
GitLab