Skip to contentSkip to conversation

Fix AIO backing store not being registered

PATCH Applied Roi Dayan 2 participants 2 messages Nov 4, 2013 – Nov 7, 2013 Kbuild

lore
Share & tools
lore

Roi Dayan

author
#0 lore raw

PATCH 1/1 Fix AIO backing store not being registered

Missing the constructor attribute

---
 usr/bs_aio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
usr/bs_aio.c +1 -1
index 32ceec5..1f46a2a 100644
@@ -414,7 +414,7 @@ static struct backingstore_template aio_bst = {
 	.bs_cmd_submit  	= bs_aio_cmd_submit,
 };
 
-void register_bs_module(void)
+__attribute__((constructor)) static void register_bs_module(void)
 {
 	register_backingstore_template(&aio_bst);
 }
Signature · 1 line
1.7.8.2