summaryrefslogtreecommitdiff
path: root/fs/smb/client/sess.c
diff options
context:
space:
mode:
authorMarco Crivellari <marco.crivellari@suse.com>2024-11-07 17:40:29 +0100
committerSteve French <stfrench@microsoft.com>2024-11-25 13:20:56 -0600
commitab02d8774181b2834247e913f61e471af149979e (patch)
tree29bf134af18696444ab42ae0878972391e229046 /fs/smb/client/sess.c
parent07bdf9272a01741b43461d666fb870ee00b02480 (diff)
Update misleading comment in cifs_chan_update_iface
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>
Diffstat (limited to 'fs/smb/client/sess.c')
-rw-r--r--fs/smb/client/sess.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/smb/client/sess.c b/fs/smb/client/sess.c
index c88e9657f47a..0bb77f9ec686 100644
--- a/fs/smb/client/sess.c
+++ b/fs/smb/client/sess.c
@@ -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)
{