diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-09 03:02:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-09 03:02:35 -0400 |
commit | 1236d6bb6e19fc72ffc6bbcdeb1bfefe450e54ee (patch) | |
tree | 47da3feee8e263e8c9352c85cf518e624be3c211 /fs/cifs/cifs_debug.c | |
parent | 750b1a6894ecc9b178c6e3d0a1170122971b2036 (diff) | |
parent | 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (diff) |
Merge 4.14-rc4 into staging-next
We want the staging/iio fixes in here as well to handle merge issues.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/cifs/cifs_debug.c')
-rw-r--r-- | fs/cifs/cifs_debug.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c index 9727e1dcacd5..cbb9534b89b4 100644 --- a/fs/cifs/cifs_debug.c +++ b/fs/cifs/cifs_debug.c | |||
@@ -160,8 +160,13 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v) | |||
160 | if ((ses->serverDomain == NULL) || | 160 | if ((ses->serverDomain == NULL) || |
161 | (ses->serverOS == NULL) || | 161 | (ses->serverOS == NULL) || |
162 | (ses->serverNOS == NULL)) { | 162 | (ses->serverNOS == NULL)) { |
163 | seq_printf(m, "\n%d) entry for %s not fully " | 163 | seq_printf(m, "\n%d) Name: %s Uses: %d Capability: 0x%x\tSession Status: %d\t", |
164 | "displayed\n\t", i, ses->serverName); | 164 | i, ses->serverName, ses->ses_count, |
165 | ses->capabilities, ses->status); | ||
166 | if (ses->session_flags & SMB2_SESSION_FLAG_IS_GUEST) | ||
167 | seq_printf(m, "Guest\t"); | ||
168 | else if (ses->session_flags & SMB2_SESSION_FLAG_IS_NULL) | ||
169 | seq_printf(m, "Anonymous\t"); | ||
165 | } else { | 170 | } else { |
166 | seq_printf(m, | 171 | seq_printf(m, |
167 | "\n%d) Name: %s Domain: %s Uses: %d OS:" | 172 | "\n%d) Name: %s Domain: %s Uses: %d OS:" |