Commit e19dff1f authored by David Howells's avatar David Howells Committed by 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: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment