]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
nbd: Replace kthread_create with kthread_run
authorMarkus Pargmann <mpa@pengutronix.de>
Thu, 2 Apr 2015 08:11:36 +0000 (10:11 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 2 Apr 2015 18:39:19 +0000 (12:39 -0600)
commitd06df60b9460838553d37d01049d04c43a36f396
treec2d32308b3c315f36e1da70c486fd547ad740eb9
parent13e71d69cc7444b7d840bab581dbe831e440fb62
nbd: Replace kthread_create with kthread_run

kthread_run includes the wake_up_process() call, so instead of
kthread_create() followed by wake_up_process() we can use this macro.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nbd.c