Display number of credits available
[firefly-linux-kernel-4.4.55.git] / fs / cifs / cifs_debug.c
index 788e19195991a4d7e0291f885e6f5cad68178426..0a3544fb50f920d64d1162dc0947e490251f0c4c 100644 (file)
@@ -152,6 +152,7 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v)
        list_for_each(tmp1, &cifs_tcp_ses_list) {
                server = list_entry(tmp1, struct TCP_Server_Info,
                                    tcp_ses_list);
+               seq_printf(m, "\nNumber of credits: %d", server->credits);
                i++;
                list_for_each(tmp2, &server->smb_ses_list) {
                        ses = list_entry(tmp2, struct cifs_ses,