Update misleading comment in cifs_chan_update_iface
authorMarco Crivellari <marco.crivellari@suse.com>
Thu, 7 Nov 2024 16:40:29 +0000 (17:40 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 25 Nov 2024 19:20:56 +0000 (13:20 -0600)
Since commit 8da33fd11c05 ("cifs: avoid deadlocks while updating iface")
cifs_chan_update_iface now takes the chan_lock itself, so update the
comment accordingly.

Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Marco Crivellari <marco.crivellari@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/sess.c

index c88e965..0bb77f9 100644 (file)
@@ -347,10 +347,7 @@ done:
        spin_unlock(&ses->chan_lock);
 }
 
-/*
- * update the iface for the channel if necessary.
- * Must be called with chan_lock held.
- */
+/* update the iface for the channel if necessary. */
 void
 cifs_chan_update_iface(struct cifs_ses *ses, struct TCP_Server_Info *server)
 {