projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db531db
)
NFS: Use seq_putc() in nfs_show_stats()
author
Markus Elfring
<elfring@users.sourceforge.net>
Wed, 3 Jul 2019 13:33:09 +0000
(15:33 +0200)
committer
Trond Myklebust
<trond.myklebust@hammerspace.com>
Sat, 13 Jul 2019 15:47:49 +0000
(11:47 -0400)
A single character (line break) should be put into a sequence.
Thus use the corresponding function “seq_putc”.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/super.c
patch
|
blob
|
history
diff --git
a/fs/nfs/super.c
b/fs/nfs/super.c
index d01def299d4044e0e1c3246ef5c3c9e674958734..6f1749e7020265cfc97c630b69bd7a7cea1c7c8c 100644
(file)
--- a/
fs/nfs/super.c
+++ b/
fs/nfs/super.c
@@
-905,7
+905,7
@@
int nfs_show_stats(struct seq_file *m, struct dentry *root)
seq_printf(m, "%Lu ", totals.fscache[i]);
}
#endif
- seq_p
rintf(m, "\n"
);
+ seq_p
utc(m, '\n'
);
rpc_clnt_show_stats(m, nfss->client);