Skip to content

Commit

Permalink
Update misleading comment in cifs_chan_update_iface
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
DispatchCode authored and Steve French committed Nov 25, 2024
1 parent 07bdf92 commit ab02d87
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions fs/smb/client/sess.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit ab02d87

Please sign in to comment.