diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2022-04-07 13:15:49 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-05-24 14:11:17 -0500 |
commit | dd3cd8709ed5f4ae8998e0cd44c05bd26bc879e8 (patch) | |
tree | 6eab597ea6e55c656829b4f2ead5722c17e18cb9 /fs/cifs/cifssmb.c | |
parent | 1a6a41d4cedd9b302e2200e6f0e3c44dbbe13689 (diff) |
cifs: use new enum for ses_status
ses->status today shares statusEnum with server->tcpStatus.
This has been confusing, and tcon->status has deviated to use
a new enum. Follow suit and use new enum for ses_status as well.
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index a9dccd10e885..6371b9eebdad 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -75,7 +75,7 @@ cifs_mark_open_files_invalid(struct cifs_tcon *tcon) /* only send once per connect */ spin_lock(&cifs_tcp_ses_lock); - if ((tcon->ses->status != CifsGood) || (tcon->status != TID_NEED_RECON)) { + if ((tcon->ses->ses_status != SES_GOOD) || (tcon->status != TID_NEED_RECON)) { spin_unlock(&cifs_tcp_ses_lock); return; } |