Skip to content
Snippets Groups Projects
  • Bobi Jam's avatar
    3456ca0d
    Branch HEAD · 3456ca0d
    Bobi Jam authored
    b=15191
    i=wangdi, shadow
    
    during liblustre test during
    
    mgc_llog_init() (lustre/mgc/libmgc.c)
      llog_initiator_connect(ctxt)
    
    while in liblustre lib, it is defined as an empty function only return 0, while
    in kernel lib, it set the context's loc_imp. And this context's loc_imp is
    required after in llog_client_create().
    
    This fix defines llog_initiator_connect() in both lib (kernel version and
    liblustre version)
    3456ca0d
    History
    Branch HEAD
    Bobi Jam authored
    b=15191
    i=wangdi, shadow
    
    during liblustre test during
    
    mgc_llog_init() (lustre/mgc/libmgc.c)
      llog_initiator_connect(ctxt)
    
    while in liblustre lib, it is defined as an empty function only return 0, while
    in kernel lib, it set the context's loc_imp. And this context's loc_imp is
    required after in llog_client_create().
    
    This fix defines llog_initiator_connect() in both lib (kernel version and
    liblustre version)