Skip to content

Commit ab02d87

Browse files
DispatchCodeSteve French
authored andcommitted
Update misleading comment in cifs_chan_update_iface
Since commit 8da33fd ("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 <[email protected]> Signed-off-by: Marco Crivellari <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 07bdf92 commit ab02d87

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

fs/smb/client/sess.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,10 +347,7 @@ cifs_disable_secondary_channels(struct cifs_ses *ses)
347347
spin_unlock(&ses->chan_lock);
348348
}
349349

350-
/*
351-
* update the iface for the channel if necessary.
352-
* Must be called with chan_lock held.
353-
*/
350+
/* update the iface for the channel if necessary. */
354351
void
355352
cifs_chan_update_iface(struct cifs_ses *ses, struct TCP_Server_Info *server)
356353
{

0 commit comments

Comments
 (0)