Files
kernel_xiaomi_sm8250/include/linux
Artem Bityutskiy 6f904ff0e3 writeback: harmonize writeback threads naming
The write-back code mixes words "thread" and "task" for the same things. This
is not a big deal, but still an inconsistency.

hch: a convention I tend to use and I've seen in various places
is to always use _task for the storage of the task_struct pointer,
and thread everywhere else.  This especially helps with having
foo_thread for the actual thread and foo_task for a global
variable keeping the task_struct pointer

This patch renames:
* 'bdi_add_default_flusher_task()' -> 'bdi_add_default_flusher_thread()'
* 'bdi_forker_task()'              -> 'bdi_forker_thread()'

because bdi threads are 'bdi_writeback_thread()', so these names are more
consistent.

This patch also amends commentaries and makes them refer the forker and bdi
threads as "thread", not "task".

Also, while on it, make 'bdi_add_default_flusher_thread()' declaration use
'static void' instead of 'void static' and make checkpatch.pl happy.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
2010-08-07 18:53:16 +02:00
..
2010-05-28 01:38:00 +02:00
2010-06-15 09:56:01 +10:00
2010-05-27 09:12:53 -07:00
2010-06-08 18:44:04 +02:00
2010-05-21 19:30:44 +02:00
2010-05-25 08:07:01 -07:00
2010-05-27 09:12:42 -07:00
2010-05-21 09:34:29 -07:00
2010-05-21 09:37:29 -07:00
2010-06-29 10:38:22 -07:00
2010-07-14 17:14:00 +10:00
2010-07-02 21:59:08 -07:00
2010-05-27 09:12:50 -07:00
2010-05-30 09:02:47 -07:00
2010-05-25 11:41:43 -04:00
2010-05-27 09:12:43 -07:00
2010-05-21 09:34:29 -07:00