[PATCH] deal with the first call of ->show() generating no output
commit4cdfe84b51420c9ac95c7133da2d4c8a191094af
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 24 Aug 2008 11:45:33 +0000 (24 07:45 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 25 Aug 2008 05:18:10 +0000 (25 01:18 -0400)
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