diff options
Diffstat (limited to 'fs/ncpfs/inode.c')
-rw-r--r-- | fs/ncpfs/inode.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c index 8fb93b604e73..31532330d016 100644 --- a/fs/ncpfs/inode.c +++ b/fs/ncpfs/inode.c | |||
@@ -309,7 +309,12 @@ static void ncp_stop_tasks(struct ncp_server *server) { | |||
309 | sk->sk_write_space = server->write_space; | 309 | sk->sk_write_space = server->write_space; |
310 | release_sock(sk); | 310 | release_sock(sk); |
311 | del_timer_sync(&server->timeout_tm); | 311 | del_timer_sync(&server->timeout_tm); |
312 | flush_scheduled_work(); | 312 | |
313 | flush_work_sync(&server->rcv.tq); | ||
314 | if (sk->sk_socket->type == SOCK_STREAM) | ||
315 | flush_work_sync(&server->tx.tq); | ||
316 | else | ||
317 | flush_work_sync(&server->timeout_tq); | ||
313 | } | 318 | } |
314 | 319 | ||
315 | static int ncp_show_options(struct seq_file *seq, struct vfsmount *mnt) | 320 | static int ncp_show_options(struct seq_file *seq, struct vfsmount *mnt) |