Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7417
b: refs/heads/master
c: 49e31cb
h: refs/heads/master
i:
  7415: 102f3bc
v: v3
  • Loading branch information
Max Kellermann authored and Linus Torvalds committed Sep 7, 2005
1 parent 4558557 commit c1054a7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7ea6040b0eff07d3a9a4e2d248ac137c6ad02d42
refs/heads/master: 49e31cbac5be2202f351626fd4fb33ad4d4819b8
16 changes: 8 additions & 8 deletions trunk/net/sunrpc/stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ static int rpc_proc_show(struct seq_file *seq, void *v) {
int i, j;

seq_printf(seq,
"net %d %d %d %d\n",
"net %u %u %u %u\n",
statp->netcnt,
statp->netudpcnt,
statp->nettcpcnt,
statp->nettcpconn);
seq_printf(seq,
"rpc %d %d %d\n",
"rpc %u %u %u\n",
statp->rpccnt,
statp->rpcretrans,
statp->rpcauthrefresh);
Expand All @@ -50,10 +50,10 @@ static int rpc_proc_show(struct seq_file *seq, void *v) {
const struct rpc_version *vers = prog->version[i];
if (!vers)
continue;
seq_printf(seq, "proc%d %d",
seq_printf(seq, "proc%u %u",
vers->number, vers->nrprocs);
for (j = 0; j < vers->nrprocs; j++)
seq_printf(seq, " %d",
seq_printf(seq, " %u",
vers->procs[j].p_count);
seq_putc(seq, '\n');
}
Expand Down Expand Up @@ -83,13 +83,13 @@ void svc_seq_show(struct seq_file *seq, const struct svc_stat *statp) {
int i, j;

seq_printf(seq,
"net %d %d %d %d\n",
"net %u %u %u %u\n",
statp->netcnt,
statp->netudpcnt,
statp->nettcpcnt,
statp->nettcpconn);
seq_printf(seq,
"rpc %d %d %d %d %d\n",
"rpc %u %u %u %u %u\n",
statp->rpccnt,
statp->rpcbadfmt+statp->rpcbadauth+statp->rpcbadclnt,
statp->rpcbadfmt,
Expand All @@ -99,9 +99,9 @@ void svc_seq_show(struct seq_file *seq, const struct svc_stat *statp) {
for (i = 0; i < prog->pg_nvers; i++) {
if (!(vers = prog->pg_vers[i]) || !(proc = vers->vs_proc))
continue;
seq_printf(seq, "proc%d %d", i, vers->vs_nproc);
seq_printf(seq, "proc%d %u", i, vers->vs_nproc);
for (j = 0; j < vers->vs_nproc; j++, proc++)
seq_printf(seq, " %d", proc->pc_count);
seq_printf(seq, " %u", proc->pc_count);
seq_putc(seq, '\n');
}
}
Expand Down

0 comments on commit c1054a7

Please sign in to comment.