summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-07-31 22:08:04 +0200
committerJens Axboe <jaxboe@fusionio.com>2011-07-31 22:08:04 +0200
commit34dd82afd27da2537199d7f71f1542501c6f96e7 (patch)
tree35688ccd99d99e16f3c82829eb824703e7460822 /include
parentaa387cc895672b00f807ad7c734a2defaf677712 (diff)
downloadlinux-stable-34dd82afd27da2537199d7f71f1542501c6f96e7.tar.gz
linux-stable-34dd82afd27da2537199d7f71f1542501c6f96e7.tar.bz2
linux-stable-34dd82afd27da2537199d7f71f1542501c6f96e7.zip
loop: replace linked list of allocated devices with an idr index
Replace the linked list, that keeps track of allocated devices, with an idr index to allow a more efficient lookup of devices. Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/loop.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/loop.h b/include/linux/loop.h
index 66c194e2d9b9..5f08d18fa148 100644
--- a/include/linux/loop.h
+++ b/include/linux/loop.h
@@ -64,7 +64,6 @@ struct loop_device {
struct request_queue *lo_queue;
struct gendisk *lo_disk;
- struct list_head lo_list;
};
#endif /* __KERNEL__ */