commit | a4808147dcf1ecf2f76212a78fd9692b3c112f47 | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Mon Jun 11 13:16:35 2012 +0100 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Mon Jun 11 13:16:35 2012 +0100 |
tree | 18d51f7b18416f3483e58b23da87d5f239325107 | |
parent | 90306c41dc3d8e5f12ecd0193dae99e0e7f6e896 [diff] |
seq_file: Add seq_vprintf function and export it The existing seq_printf function is rewritten in terms of the new seq_vprintf which is also exported to modules. This allows GFS2 (and potentially other seq_file users) to have a vprintf based interface and to avoid an extra copy into a temporary buffer in some cases. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> Reported-by: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: Al Viro <viro@ZenIV.linux.org.uk>