diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2019-07-03 16:33:09 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-07-13 18:47:49 +0300 |
commit | 9bcaa35c686d65091e833f6c97a20baa31d0e870 (patch) | |
tree | c3e9a333e5d416f39595f96b2c8724e7723462d0 /fs/nfs | |
parent | db531db951f950b86d274cc8ed7b21b9e2240036 (diff) | |
download | linux-9bcaa35c686d65091e833f6c97a20baa31d0e870.tar.xz |
NFS: Use seq_putc() in nfs_show_stats()
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>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index d01def299d40..6f1749e70202 100644 --- 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_printf(m, "\n"); + seq_putc(m, '\n'); rpc_clnt_show_stats(m, nfss->client); |