summaryrefslogtreecommitdiff
path: root/fs/cifs/sess.c
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.com>2023-02-20 16:36:54 -0300
committerSteve French <stfrench@microsoft.com>2023-02-20 17:25:43 -0600
commit0e9bd27b2a635d54665fcc1d6398a5f6aeb6b0cb (patch)
treeef1698461de51a95f5617d8f55ac4e9ded19881b /fs/cifs/sess.c
parent3e161c2791f8e661eed24a2c624087084d910215 (diff)
downloadlwn-0e9bd27b2a635d54665fcc1d6398a5f6aeb6b0cb.tar.gz
lwn-0e9bd27b2a635d54665fcc1d6398a5f6aeb6b0cb.zip
cifs: get rid of dns resolve worker
We already upcall to resolve hostnames during reconnect by calling reconn_set_ipaddr_from_hostname(), so there is no point in having a worker to periodically call it. Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Reviewed-by <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/sess.c')
-rw-r--r--fs/cifs/sess.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c
index c47b254f0d1e..d2cbae4b5d21 100644
--- a/fs/cifs/sess.c
+++ b/fs/cifs/sess.c
@@ -480,7 +480,6 @@ out:
* remove this channel
*/
cancel_delayed_work_sync(&chan->server->echo);
- cancel_delayed_work_sync(&chan->server->resolve);
cancel_delayed_work_sync(&chan->server->reconnect);
spin_lock(&ses->chan_lock);