summaryrefslogtreecommitdiff
path: root/fs/nfs
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2019-07-03 16:33:09 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-07-13 18:47:49 +0300
commit9bcaa35c686d65091e833f6c97a20baa31d0e870 (patch)
treec3e9a333e5d416f39595f96b2c8724e7723462d0 /fs/nfs
parentdb531db951f950b86d274cc8ed7b21b9e2240036 (diff)
downloadlinux-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.c2
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);