X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fptlrpc%2Fptlrpc_module.c;h=4b75026ecd7d98ec5675683bad44892930125943;hb=0d593bedcc7e6c68bad4cccf2f89c30cb496b29d;hp=57f365304f0b3d9fdddb94011fce938bde2aed72;hpb=576c9a8212bc6607146d99e3413f7a24cbf91b5c;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/ptlrpc_module.c b/lustre/ptlrpc/ptlrpc_module.c index 57f3653..4b75026 100644 --- a/lustre/ptlrpc/ptlrpc_module.c +++ b/lustre/ptlrpc/ptlrpc_module.c @@ -100,13 +100,14 @@ __init int ptlrpc_init(void) int rc; ENTRY; - lustre_assert_wire_constants (); - + lustre_assert_wire_constants(); + rc = ptlrpc_init_portals(); if (rc) RETURN(rc); ptlrpc_init_connection(); + llog_init_commit_master(); ptlrpc_put_connection_superhack = ptlrpc_put_connection; ptlrpc_abort_inflight_superhack = ptlrpc_abort_inflight; @@ -117,6 +118,9 @@ static void __exit ptlrpc_exit(void) { ptlrpc_exit_portals(); ptlrpc_cleanup_connection(); +#ifdef ENABLE_ORPHANS + llog_cleanup_commit_master(0); +#endif } /* connection.c */