Commit ab02d877 authored by Marco Crivellari's avatar Marco Crivellari Committed by Steve French
Browse files

Update misleading comment in cifs_chan_update_iface



Since commit 8da33fd1 ("cifs: avoid deadlocks while updating iface")
cifs_chan_update_iface now takes the chan_lock itself, so update the
comment accordingly.

Reviewed-by: default avatarEnzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: default avatarMarco Crivellari <marco.crivellari@suse.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 07bdf927
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -347,10 +347,7 @@ cifs_disable_secondary_channels(struct cifs_ses *ses)
	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)
{