mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
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>
This commit is contained in:
parent
db531db951
commit
9bcaa35c68
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user