diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2008-05-05 12:20:42 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-05 12:20:42 +0400 |
commit | fb98ec71c7f81b6db9b793aeb9d53823b6960d8b (patch) | |
tree | ef526b18473b2772d9d9142ef41e7061b2e1cf0c /net/tipc/dbg.h | |
parent | 025adbe8e58290798001b472aec3eb618d8fc930 (diff) | |
download | linux-fb98ec71c7f81b6db9b793aeb9d53823b6960d8b.tar.xz |
tipc: Provide feedback when log buffer resizing fails
This patch provides feedback to the user when TIPC is unable
to set its log buffer to the requested size.
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/dbg.h')
-rw-r--r-- | net/tipc/dbg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/dbg.h b/net/tipc/dbg.h index 718a5db245b5..6b00062bf040 100644 --- a/net/tipc/dbg.h +++ b/net/tipc/dbg.h @@ -2,7 +2,7 @@ * net/tipc/dbg.h: Include file for TIPC print buffer routines * * Copyright (c) 1997-2006, Ericsson AB - * Copyright (c) 2005-2006, Wind River Systems + * Copyright (c) 2005-2007, Wind River Systems * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -61,7 +61,7 @@ int tipc_printbuf_empty(struct print_buf *pb); int tipc_printbuf_validate(struct print_buf *pb); void tipc_printbuf_move(struct print_buf *pb_to, struct print_buf *pb_from); -void tipc_log_resize(int log_size); +int tipc_log_resize(int log_size); struct sk_buff *tipc_log_resize_cmd(const void *req_tlv_area, int req_tlv_space); |