diff options
author | Serge E. Hallyn <serue@us.ibm.com> | 2006-06-25 16:48:59 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 21:01:20 +0400 |
commit | c7b2eff059fcc2d1b7085ee3d84b79fd657a537b (patch) | |
tree | 72d357c3975f27b5c8e5cfd77464e7823a9d6b1d /include/linux/loop.h | |
parent | 2f72100c01dd31d769097c58874e8ab1e70b2518 (diff) | |
download | linux-c7b2eff059fcc2d1b7085ee3d84b79fd657a537b.tar.xz |
[PATCH] kthread: update loop.c to use kthread
Update loop.c to use a kthread instead of a deprecated kernel_thread for
loop devices.
[akpm@osdl.org: don't change the thread's name]
Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/loop.h')
-rw-r--r-- | include/linux/loop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/loop.h b/include/linux/loop.h index e76c7611d6cc..bf3d2345ce99 100644 --- a/include/linux/loop.h +++ b/include/linux/loop.h @@ -59,7 +59,7 @@ struct loop_device { struct bio *lo_bio; struct bio *lo_biotail; int lo_state; - struct completion lo_done; + struct task_struct *lo_thread; struct completion lo_bh_done; struct mutex lo_ctl_mutex; int lo_pending; |