Message ID | ab25204c-5a53-42e1-ab3a-c4f704ebc929@web.de (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | nfsd: Use seq_putc() in seq_quote_mem() | expand |
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index a20c2c9d7d45..1d15165a15cf 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -2636,9 +2636,9 @@ static struct nfs4_client *get_nfsdfs_clp(struct inode *inode) static void seq_quote_mem(struct seq_file *m, char *data, int len) { - seq_puts(m, "\""); + seq_putc(m, '"'); seq_escape_mem(m, data, len, ESCAPE_HEX | ESCAPE_NAP | ESCAPE_APPEND, "\"\\"); - seq_puts(m, "\""); + seq_putc(m, '"'); } static const char *cb_state2str(int state)