Update misleading comment in cifs_chan_update_iface
Subsystems (2)
PATCH 1/1 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.
--- fs/smb/client/sess.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
fs/smb/client/sess.c +1 -4
@@ -359,10 +359,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) {
Signature · 1 line
2.47.0
Quoted 22 lines · Marco Crivellari
Since commit
8da33fd11c05("cifs: avoid deadlocks while updating iface")cifs_chan_update_ifacenow takes thechan_lockitself, so update the comment accordingly.Signed-off-by Marco Crivellari <[email protected]>---
fs/smb/client/sess.c| 5 +----1 file changed, 1 insertion(+), 4 deletions(-)fs/smb/client/sess.c +1
-4@@ -359,10 +359,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. */
Quoted 4 lines
void
cifs_chan_update_iface(struct cifs_ses *ses, struct TCP_Server_Info *server){
Cheers
added to cifs-2.6.git for-next (and added the RB to the other three a well)
Quoted 33 lines · Enzo Matsumiya
Quoted 22 lines · Marco Crivellari
Since commit
8da33fd11c05("cifs: avoid deadlocks while updating iface")cifs_chan_update_ifacenow takes thechan_lockitself, so update the comment accordingly.Signed-off-by Marco Crivellari <[email protected]>---
fs/smb/client/sess.c| 5 +----1 file changed, 1 insertion(+), 4 deletions(-)fs/smb/client/sess.c +1
-4@@ -359,10 +359,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. */ Quoted 4 lines
void
cifs_chan_update_iface(struct cifs_ses *ses, struct TCP_Server_Info *server){
--Reviewed-by Enzo Matsumiya <[email protected]>Cheers
Signature · 3 lines
Thanks, Steve
Thank you,
Marco
Quoted 44 lines · Steve French
added to cifs-2.6.git for-next (and added the RB to the other three a well)
Quoted 32 lines · Enzo Matsumiya
Quoted 22 lines · Marco Crivellari
Since commit
8da33fd11c05("cifs: avoid deadlocks while updating iface")cifs_chan_update_ifacenow takes thechan_lockitself, so update the comment accordingly.Signed-off-by Marco Crivellari <[email protected]>---
fs/smb/client/sess.c| 5 +----1 file changed, 1 insertion(+), 4 deletions(-)fs/smb/client/sess.c +1
-4@@ -359,10 +359,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. */ Quoted 4 lines
void
cifs_chan_update_iface(struct cifs_ses *ses, struct TCP_Server_Info *server){
--Reviewed-by Enzo Matsumiya <[email protected]>Quoted 1 line
Cheers
--
Thanks,Steve