From: Marco Crivellari Date: Thu, 7 Nov 2024 16:40:29 +0000 (+0100) Subject: Update misleading comment in cifs_chan_update_iface X-Git-Tag: microblaze-v6.16~487^2~18 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=ab02d8774181b2834247e913f61e471af149979e;p=linux-2.6-microblaze.git 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 Signed-off-by: Marco Crivellari Signed-off-by: Steve French --- 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) {