Alexey Dobriyan
f01d1d546a
seq_file: fix big-enough lseek() + read()
...
lseek() further than length of the file will leave stale ->index
(second-to-last during iteration). Next seq_read() will not notice
that ->f_pos is big enough to return 0, but will print last item
as if ->f_pos is pointing to it.
Introduced in commit cb510b8172602a66467f3551b4be1911f5a7c8c2
aka "seq_file: more atomicity in traverse()".
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-02-05 14:18:14 -08:00
..
2009-01-22 13:16:01 +03:00
2009-01-22 13:15:56 +03:00
2009-01-22 13:15:56 +03:00
2009-01-22 13:16:01 +03:00
2009-01-22 13:15:54 +03:00
2009-01-22 13:15:54 +03:00
2009-01-22 13:15:57 +03:00
2009-01-22 13:15:57 +03:00
2009-01-22 13:15:54 +03:00
2009-01-29 03:32:13 +00:00
2009-01-22 13:16:01 +03:00
2009-02-02 14:20:18 -08:00
2009-01-22 13:15:58 +03:00
2009-01-21 15:28:45 -06:00
2009-01-22 13:15:56 +03:00
2009-01-22 13:15:57 +03:00
2009-01-15 16:39:42 -08:00
2009-01-16 11:13:47 -05:00
2009-01-30 00:00:24 -05:00
2009-01-22 13:15:55 +03:00
2009-01-22 13:15:58 +03:00
2009-01-26 10:08:50 -08:00
2009-01-09 16:54:42 -08:00
2009-01-22 13:15:57 +03:00
2009-01-22 13:15:57 +03:00
2009-01-22 13:15:59 +03:00
2009-01-22 13:15:55 +03:00
2009-01-11 22:34:01 -05:00
2009-01-22 13:15:54 +03:00
2009-01-22 13:15:58 +03:00
2009-01-22 13:16:01 +03:00
2009-01-22 13:16:00 +03:00
2009-01-27 17:26:59 -05:00
2009-01-26 10:08:05 -08:00
2009-01-22 13:15:55 +03:00
2009-02-02 14:20:20 -08:00
2009-01-22 13:15:58 +03:00
2009-01-22 13:15:59 +03:00
2009-01-22 13:15:53 +03:00
2009-01-22 13:15:59 +03:00
2009-01-22 13:16:01 +03:00
2009-01-22 13:15:58 +03:00
2009-01-26 10:40:28 -08:00
2009-01-22 13:15:59 +03:00
2009-01-29 16:34:30 +02:00
2009-01-22 13:15:55 +03:00
2009-01-22 13:16:00 +03:00
2009-02-03 11:04:54 -06:00
2009-01-14 14:15:25 +01:00
2009-01-30 12:34:36 +01:00
2009-01-09 16:54:42 -08:00
2009-01-14 14:15:22 +01:00
2009-01-29 16:53:35 -08:00
2009-01-14 14:15:16 +01:00
2009-01-14 14:15:26 +01:00
2009-01-14 14:15:18 +01:00
2009-01-16 18:02:10 +01:00
2009-01-14 14:15:31 +01:00
2009-01-29 18:04:45 -08:00
2009-01-14 14:15:29 +01:00
2009-01-14 14:15:24 +01:00
2009-01-14 14:15:29 +01:00
2009-01-14 14:15:24 +01:00
2009-01-14 14:15:30 +01:00
2009-01-22 13:16:01 +03:00
2009-01-14 14:15:25 +01:00
2009-01-14 14:15:30 +01:00
2009-01-14 14:15:24 +01:00
2009-01-14 14:15:29 +01:00
2009-01-14 14:15:30 +01:00
2009-01-14 14:15:32 +01:00
2009-01-14 14:15:26 +01:00
2009-01-14 14:15:26 +01:00
2009-01-14 14:15:31 +01:00
2009-01-14 14:15:31 +01:00
2009-02-05 14:18:14 -08:00
2009-01-14 14:15:31 +01:00
2009-01-14 14:15:31 +01:00
2009-01-14 14:15:30 +01:00
2009-01-14 14:15:23 +01:00
2009-01-14 14:15:21 +01:00
2009-01-14 14:15:31 +01:00
2009-01-14 14:15:30 +01:00
2009-01-14 14:15:23 +01:00