]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/seq_file.c
[PATCH] deal with the first call of ->show() generating no output
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 24 Aug 2008 11:45:33 +0000 (07:45 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 25 Aug 2008 05:18:10 +0000 (01:18 -0400)
commit4cdfe84b51420c9ac95c7133da2d4c8a191094af
treeb15ad9cd9d9db1117be13b5da1b00399ee544c70
parent59af1584bf33810639cb98d79856021253e2177c
[PATCH] deal with the first call of ->show() generating no output

seq_read() has a subtle bug - we want the first loop there to go
until at least one *non-empty* record had fit entirely into buffer.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/seq_file.c