summaryrefslogtreecommitdiffstats
path: root/fs/ncpfs/ncp_fs_sb.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-08-29 21:00:21 -0700
committerKees Cook <keescook@chromium.org>2017-11-02 15:44:09 -0700
commit9b5dfbdd1f51558d321ccf15ac1e45ef1f593e83 (patch)
tree6d3a87cadfc58ecc88e70ccdc882b731fbed2423 /fs/ncpfs/ncp_fs_sb.h
parentfd30b717b86dc30ffe25596f8de6542a02ae9401 (diff)
downloadlinux-9b5dfbdd1f51558d321ccf15ac1e45ef1f593e83.tar.gz
linux-9b5dfbdd1f51558d321ccf15ac1e45ef1f593e83.tar.bz2
linux-9b5dfbdd1f51558d321ccf15ac1e45ef1f593e83.zip
fs/ncpfs: Convert timers to use timer_setup()
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Petr Vandrovec <petr@vandrovec.name> Cc: Jan Kara <jack@suse.cz> Cc: Jens Axboe <axboe@fb.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ncpfs/ncp_fs_sb.h')
-rw-r--r--fs/ncpfs/ncp_fs_sb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ncpfs/ncp_fs_sb.h b/fs/ncpfs/ncp_fs_sb.h
index 366fd63cc506..2088d94ead93 100644
--- a/fs/ncpfs/ncp_fs_sb.h
+++ b/fs/ncpfs/ncp_fs_sb.h
@@ -149,7 +149,7 @@ extern void ncp_tcp_rcv_proc(struct work_struct *work);
extern void ncp_tcp_tx_proc(struct work_struct *work);
extern void ncpdgram_rcv_proc(struct work_struct *work);
extern void ncpdgram_timeout_proc(struct work_struct *work);
-extern void ncpdgram_timeout_call(unsigned long server);
+extern void ncpdgram_timeout_call(struct timer_list *t);
extern void ncp_tcp_data_ready(struct sock* sk);
extern void ncp_tcp_write_space(struct sock* sk);
extern void ncp_tcp_error_report(struct sock* sk);