This patch exports blk_register_queue().
blk_register_queue() is called through add_disk().
Request-based dm defers queue allocation/initialization until
a mapping table is loaded, since the way to initialize queue
is different between bio-based mapping and request-based mapping.
So request-based dm needs to call add_disk() and blk_register_queue()
separately.
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
block/blk-sysfs.c | 1 +
1 files changed, 1 insertion(+)
Index: 2.6.25-rc5/block/blk-sysfs.c
===================================================================
--- 2.6.25-rc5.orig/block/blk-sysfs.c
+++ 2.6.25-rc5/block/blk-sysfs.c
@@ -295,6 +295,7 @@ int blk_register_queue(struct gendisk *d
return 0;
}
+EXPORT_SYMBOL_GPL(blk_register_queue);
void blk_unregister_queue(struct gendisk *disk)
{
--
| Arjan van de Ven | [patch] Add basic sanity checks to the syscall execution patch |
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| monstr | Microblaze init port |
| Linus Torvalds | Re: Back to the future. |
git: | |
| Petr Baudis | Re: Cleaning up git user-interface warts |
| Jan Engelhardt | about c8af1de9 (git status uses pager) |
| Jakub Narebski | Re: VCS comparison table |
| Linus Torvalds | Re: kernel.org mirroring (Re: [GIT PULL] MMC update) |
| Richard Stallman | Real men don't attack straw men |
| Marco Peereboom | Re: Real men don't attack straw men |
| David Newman | setting dscp or tos bits |
| Khalid Schofield | Configuring sendmail openbsd 4.2 |
| Christoph Hellwig | Re: [PATCH RFC] [1/9] Core module symbol namespaces code and intro. |
| Josip Rodin | bnx2_poll panicking kernel |
| Johannes Berg | [RFC v2] mac80211: assign needed_headroom/tailroom for netdevs |
| Francois Romieu | Re: NAPI, rx_no_buffer_count, e1000, r8169 and other actors |
