File tree 2 files changed +13
-9
lines changed
2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -98,19 +98,19 @@ set_target_properties(EosAuthProto-Objects
98
98
#-------------------------------------------------------------------------------
99
99
# EosAuthOfs library
100
100
#-------------------------------------------------------------------------------
101
- add_library (EosAuthOfs MODULE
101
+ add_library (EosAuthOfs- ${XRDPLUGIN_SOVERSION} MODULE
102
102
EosAuthOfs.cc EosAuthOfs.hh
103
103
EosAuthOfsFile.cc EosAuthOfsFile.hh
104
104
EosAuthOfsDirectory.cc EosAuthOfsDirectory.hh)
105
105
106
106
target_link_libraries (
107
- EosAuthOfs PRIVATE
107
+ EosAuthOfs- ${XRDPLUGIN_SOVERSION} PRIVATE
108
108
EosAuthProto-Objects
109
109
EosCommon
110
110
ZMQ::ZMQ
111
111
XROOTD::PRIVATE )
112
112
113
- install (TARGETS EosAuthOfs
113
+ install (TARGETS EosAuthOfs- ${XRDPLUGIN_SOVERSION}
114
114
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
115
115
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
116
116
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR} )
Original file line number Diff line number Diff line change 44
44
#include < google/protobuf/io/zero_copy_stream_impl.h>
45
45
46
46
// The global OFS handle
47
- eos::auth::EosAuthOfs* eos::auth::gOFS ;
47
+ eos::auth::EosAuthOfs* eos::auth::gOFS = nullptr ;
48
48
49
49
extern XrdSysError OfsEroute;
50
50
extern XrdOfs* XrdOfsFS;
@@ -69,10 +69,11 @@ extern "C"
69
69
// !
70
70
// ! @returns configures and returns our MgmOfs object
71
71
// ------------------------------------------------------------------------------
72
- XrdSfsFileSystem* XrdSfsGetFileSystem2 (XrdSfsFileSystem* native_fs,
73
- XrdSysLogger* lp,
74
- const char * configfn,
75
- XrdOucEnv* envP)
72
+ XrdSfsFileSystem*
73
+ XrdSfsGetFileSystem2 (XrdSfsFileSystem* native_fs,
74
+ XrdSysLogger* lp,
75
+ const char * configfn,
76
+ XrdOucEnv* envP)
76
77
{
77
78
if (eos::auth::gOFS ) {
78
79
// File system object already initialized
@@ -113,12 +114,15 @@ extern "C"
113
114
{
114
115
if (eos::auth::gOFS ) {
115
116
// File system object already initialized
117
+ OfsEroute.SetPrefix (" AuthOfs_" );
118
+ OfsEroute.logger (lp);
119
+ OfsEroute.Say (" info=\" return already loaded AUTH OFS pointer\" " );
116
120
return eos::auth::gOFS ;
117
121
}
118
122
119
123
return XrdSfsGetFileSystem2 (native_fs, lp, configfn, nullptr );
120
124
}
121
- }
125
+ } // extern "C"
122
126
123
127
EOSAUTHNAMESPACE_BEGIN
124
128
You can’t perform that action at this time.
0 commit comments