Changeset 232 for branches/samba-3.2.x/source/lib/util.c
- Timestamp:
- May 27, 2009, 9:09:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/lib/util.c
r149 r232 1041 1041 1042 1042 bool reinit_after_fork(struct messaging_context *msg_ctx, 1043 struct event_context *ev_ctx, 1043 1044 bool parent_longlived) 1044 1045 { … … 1057 1058 } 1058 1059 1059 /* 1060 * For clustering, we need to re-init our ctdbd connection after the 1061 * fork 1062 */ 1063 status = messaging_reinit(msg_ctx); 1064 if (!NT_STATUS_IS_OK(status)) { 1065 DEBUG(0,("messaging_reinit() failed: %s\n", 1066 nt_errstr(status))); 1067 return false; 1060 if (msg_ctx) { 1061 /* 1062 * For clustering, we need to re-init our ctdbd connection after the 1063 * fork 1064 */ 1065 status = messaging_reinit(msg_ctx); 1066 if (!NT_STATUS_IS_OK(status)) { 1067 DEBUG(0,("messaging_reinit() failed: %s\n", 1068 nt_errstr(status))); 1069 return false; 1070 } 1071 } 1072 1073 if (ev_ctx) { 1074 event_context_reinit(ev_ctx); 1068 1075 } 1069 1076
Note:
See TracChangeset
for help on using the changeset viewer.