NeilBrown
ce7a7eed77
doc: seq_file: clarify role of *pos in ->next()
...
There are behavioural requirements on the seq_file next() function in
terms of how it updates *pos at end-of-file, and these are now enforced
by a warning.
I was recently attempting to justify the reason this was needed, and
couldn't remember the details, and didn't find them in the
documentation.
So I re-read the code until I understood it again, and updated the
documentation to match.
I also enhanced the text about SEQ_START_TOKEN as it seemed potentially
misleading.
Cc: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Link: https://lore.kernel.org/r/87eemqiazh.fsf@notabene.neil.brown.name
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-09-28 15:19:44 -06:00
..
2020-07-13 09:33:22 -06:00
2020-05-05 09:22:21 -06:00
2020-05-28 22:09:47 -04:00
2020-06-26 11:14:12 -06:00
2020-05-05 09:22:24 -06:00
2020-07-13 11:28:12 -06:00
2020-03-02 13:58:44 -07:00
2020-03-02 14:01:06 -07:00
2020-07-13 11:25:29 -06:00
2019-05-24 15:03:39 -06:00
2020-07-05 14:44:29 -06:00
2019-11-18 12:19:59 -07:00
2020-05-05 09:22:21 -06:00
2020-03-02 14:01:25 -07:00
2020-03-02 14:01:26 -07:00
2020-03-02 14:01:28 -07:00
2020-04-08 21:44:05 -07:00
2020-07-13 10:02:32 -06:00
2020-07-05 14:44:29 -06:00
2020-03-02 14:02:07 -07:00
2020-06-15 09:32:10 -07:00
2020-07-10 13:54:00 -07:00
2020-05-05 09:22:21 -06:00
2020-07-05 14:44:29 -06:00
2020-08-07 11:33:22 -07:00
2020-05-05 09:22:22 -06:00
2020-03-20 17:01:29 -06:00
2020-05-25 18:59:59 -06:00
2020-03-02 14:02:57 -07:00
2020-03-02 14:02:59 -07:00
2020-03-02 14:03:16 -07:00
2020-08-10 18:33:22 -07:00
2020-06-05 16:19:28 -07:00
2020-05-05 09:22:22 -06:00
2020-07-27 09:18:49 -07:00
2020-07-05 14:44:29 -06:00
2020-05-05 09:22:22 -06:00
2020-03-10 11:55:25 -06:00
2020-06-02 19:45:05 +02:00
2020-03-02 14:03:35 -07:00
2020-03-02 14:03:18 -07:00
2020-06-26 11:14:12 -06:00
2020-03-02 14:03:47 -07:00
2020-06-26 11:14:12 -06:00
2020-06-08 12:47:09 -07:00
2020-03-02 14:03:55 -07:00
2020-03-02 14:04:06 -07:00
2020-08-11 10:23:27 -06:00
2020-08-04 22:47:54 -07:00
2020-05-05 09:22:22 -06:00
2020-05-05 09:22:22 -06:00
2020-09-24 10:37:43 -06:00
2020-03-02 14:04:06 -07:00
2020-03-02 14:04:06 -07:00
2020-03-02 14:04:06 -07:00
2020-08-07 11:33:22 -07:00
2020-07-13 11:24:43 -06:00
2020-04-28 12:35:47 -06:00
2020-08-04 22:47:54 -07:00
2020-07-27 16:14:13 -06:00
2020-06-08 09:30:19 -06:00
2020-06-04 10:48:19 +02:00
2020-08-12 10:57:56 -07:00
2020-04-07 13:20:56 -06:00
2020-07-09 08:14:01 +02:00
2020-06-26 11:14:12 -06:00
2020-03-02 14:04:41 -07:00
2020-03-02 14:04:41 -07:00
2020-09-28 15:19:44 -06:00
2020-05-05 09:22:23 -06:00
2019-03-06 09:46:10 -07:00
2020-03-02 14:04:41 -07:00
2020-07-27 16:21:04 -06:00
2020-07-05 14:44:30 -06:00
2020-09-09 11:35:51 -06:00
2020-03-02 14:04:41 -07:00
2020-08-07 11:33:24 -07:00
2020-09-09 11:53:33 -06:00
2020-03-02 14:04:41 -07:00
2020-07-14 14:37:39 +02:00
2020-01-10 10:58:45 -07:00
2020-07-27 16:19:51 -06:00
2020-04-20 17:01:34 +02:00
2020-05-05 09:22:24 -06:00
2020-06-02 19:21:40 -07:00
2020-08-11 17:42:25 +09:00