Commit 91f4480
cifs: fix status checks in cifs_tree_connect
The ordering of status checks at the beginning of
cifs_tree_connect is wrong. As a result, a tcon
which is good may stay marked as needing reconnect
infinitely.
Fixes: 2f0e4f0 ("cifs: check only tcon status on tcon related functions")
Cc: stable@vger.kernel.org # 6.3
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>1 parent a5998a9 commit 91f4480
2 files changed
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4086 | 4086 | | |
4087 | 4087 | | |
4088 | 4088 | | |
| 4089 | + | |
| 4090 | + | |
| 4091 | + | |
| 4092 | + | |
| 4093 | + | |
4089 | 4094 | | |
4090 | 4095 | | |
4091 | 4096 | | |
4092 | 4097 | | |
4093 | 4098 | | |
4094 | 4099 | | |
4095 | | - | |
4096 | | - | |
4097 | | - | |
4098 | | - | |
4099 | 4100 | | |
4100 | 4101 | | |
4101 | 4102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
578 | 583 | | |
579 | 584 | | |
580 | 585 | | |
581 | 586 | | |
582 | 587 | | |
583 | 588 | | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | 589 | | |
589 | 590 | | |
590 | 591 | | |
| |||
0 commit comments