提交 e19dff1f 编写于 作者: D David Howells 提交者: David S. Miller

[AF_RXRPC]: Make it possible to merely try to cancel timers from a module

Export try_to_del_timer_sync() for use by the AF_RXRPC module.
Signed-off-by: NDavid Howells <dhowells@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 7318226e
...@@ -505,6 +505,8 @@ int try_to_del_timer_sync(struct timer_list *timer) ...@@ -505,6 +505,8 @@ int try_to_del_timer_sync(struct timer_list *timer)
return ret; return ret;
} }
EXPORT_SYMBOL(try_to_del_timer_sync);
/** /**
* del_timer_sync - deactivate a timer and wait for the handler to finish. * del_timer_sync - deactivate a timer and wait for the handler to finish.
* @timer: the timer to be deactivated * @timer: the timer to be deactivated
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册