summaryrefslogtreecommitdiffstats
path: root/include/linux/loop.h
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2009-04-17 08:41:21 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-04-28 07:37:28 +0200
commite686307fdc84f249490e6c9da92fcb2424491f14 (patch)
treed0174abe1f71a4435bf4b7a5822bfdc7dcf650aa /include/linux/loop.h
parente93b9fb7d85da4fd9d5171649e5ddcac1dd572bf (diff)
downloadlinux-e686307fdc84f249490e6c9da92fcb2424491f14.tar.gz
linux-e686307fdc84f249490e6c9da92fcb2424491f14.tar.bz2
linux-e686307fdc84f249490e6c9da92fcb2424491f14.zip
loop: use BIO list management functions
Now that the bio list management stuff is generic, convert loop to use bio lists instead of its own private bio list implementation. Cc: Jens Axboe <axboe@kernel.dk> Cc: Christoph Hellwig <hch@infradead.org> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/loop.h')
-rw-r--r--include/linux/loop.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/loop.h b/include/linux/loop.h
index 40725447f5e0..66c194e2d9b9 100644
--- a/include/linux/loop.h
+++ b/include/linux/loop.h
@@ -56,8 +56,7 @@ struct loop_device {
gfp_t old_gfp_mask;
spinlock_t lo_lock;
- struct bio *lo_bio;
- struct bio *lo_biotail;
+ struct bio_list lo_bio_list;
int lo_state;
struct mutex lo_ctl_mutex;
struct task_struct *lo_thread;