Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213818
b: refs/heads/master
c: f813809
h: refs/heads/master
v: v3
  • Loading branch information
Anders Kaseorg authored and David S. Miller committed Aug 18, 2010
1 parent e32800d commit 595e6df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 24763d80fbb45aaf477d53c2203c929f6c41b5fc
refs/heads/master: f81380925209bc60732a57eef41ab440c056aacf
6 changes: 4 additions & 2 deletions trunk/net/tipc/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ void tipc_core_stop(void)
tipc_nametbl_stop();
tipc_ref_table_stop();
tipc_socket_stop();
tipc_log_resize(0);
}

/**
Expand Down Expand Up @@ -203,7 +204,9 @@ static int __init tipc_init(void)
{
int res;

tipc_log_resize(CONFIG_TIPC_LOG);
if (tipc_log_resize(CONFIG_TIPC_LOG) != 0)
warn("Unable to create log buffer\n");

info("Activated (version " TIPC_MOD_VER
" compiled " __DATE__ " " __TIME__ ")\n");

Expand All @@ -230,7 +233,6 @@ static void __exit tipc_exit(void)
tipc_core_stop_net();
tipc_core_stop();
info("Deactivated\n");
tipc_log_resize(0);
}

module_init(tipc_init);
Expand Down

0 comments on commit 595e6df

Please sign in to comment.