diff options
Diffstat (limited to 'fs/ncpfs')
-rw-r--r-- | fs/ncpfs/ncp_fs_sb.h | 4 | ||||
-rw-r--r-- | fs/ncpfs/sock.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/ncpfs/ncp_fs_sb.h b/fs/ncpfs/ncp_fs_sb.h index 7fa17e459366..55e26fd80886 100644 --- a/fs/ncpfs/ncp_fs_sb.h +++ b/fs/ncpfs/ncp_fs_sb.h | |||
@@ -109,7 +109,7 @@ struct ncp_server { | |||
109 | 109 | ||
110 | spinlock_t requests_lock; /* Lock accesses to tx.requests, tx.creq and rcv.creq when STREAM mode */ | 110 | spinlock_t requests_lock; /* Lock accesses to tx.requests, tx.creq and rcv.creq when STREAM mode */ |
111 | 111 | ||
112 | void (*data_ready)(struct sock* sk, int len); | 112 | void (*data_ready)(struct sock* sk); |
113 | void (*error_report)(struct sock* sk); | 113 | void (*error_report)(struct sock* sk); |
114 | void (*write_space)(struct sock* sk); /* STREAM mode only */ | 114 | void (*write_space)(struct sock* sk); /* STREAM mode only */ |
115 | struct { | 115 | struct { |
@@ -151,7 +151,7 @@ extern void ncp_tcp_tx_proc(struct work_struct *work); | |||
151 | extern void ncpdgram_rcv_proc(struct work_struct *work); | 151 | extern void ncpdgram_rcv_proc(struct work_struct *work); |
152 | extern void ncpdgram_timeout_proc(struct work_struct *work); | 152 | extern void ncpdgram_timeout_proc(struct work_struct *work); |
153 | extern void ncpdgram_timeout_call(unsigned long server); | 153 | extern void ncpdgram_timeout_call(unsigned long server); |
154 | extern void ncp_tcp_data_ready(struct sock* sk, int len); | 154 | extern void ncp_tcp_data_ready(struct sock* sk); |
155 | extern void ncp_tcp_write_space(struct sock* sk); | 155 | extern void ncp_tcp_write_space(struct sock* sk); |
156 | extern void ncp_tcp_error_report(struct sock* sk); | 156 | extern void ncp_tcp_error_report(struct sock* sk); |
157 | 157 | ||
diff --git a/fs/ncpfs/sock.c b/fs/ncpfs/sock.c index 04a69a4d8e96..471bc3d1139e 100644 --- a/fs/ncpfs/sock.c +++ b/fs/ncpfs/sock.c | |||
@@ -97,11 +97,11 @@ static void ncp_req_put(struct ncp_request_reply *req) | |||
97 | kfree(req); | 97 | kfree(req); |
98 | } | 98 | } |
99 | 99 | ||
100 | void ncp_tcp_data_ready(struct sock *sk, int len) | 100 | void ncp_tcp_data_ready(struct sock *sk) |
101 | { | 101 | { |
102 | struct ncp_server *server = sk->sk_user_data; | 102 | struct ncp_server *server = sk->sk_user_data; |
103 | 103 | ||
104 | server->data_ready(sk, len); | 104 | server->data_ready(sk); |
105 | schedule_work(&server->rcv.tq); | 105 | schedule_work(&server->rcv.tq); |
106 | } | 106 | } |
107 | 107 | ||