Skip to content

Commit e3b6e80

Browse files
Yoichi Yuasatorvalds
authored andcommitted
bio-integrity: remove EXPORT_SYMBOL for bio_integrity_init_slab()
I got section mismatch message about bio_integrity_init_slab(). WARNING: fs/built-in.o(__ksymtab+0xb60): Section mismatch in reference from the variable __ksymtab_bio_integrity_init_slab to the function .init.text:bio_integrity_init_slab() The symbol bio_integrity_init_slab is exported and annotated __init Fix this by removing the __init annotation of bio_integrity_init_slab or drop the export. It only call from init_bio(). The EXPORT_SYMBOL() can be removed. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 8ab22b9 commit e3b6e80

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎fs/bio-integrity.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,6 @@ void __init bio_integrity_init_slab(void)
705705
bio_integrity_slab = KMEM_CACHE(bio_integrity_payload,
706706
SLAB_HWCACHE_ALIGN|SLAB_PANIC);
707707
}
708-
EXPORT_SYMBOL(bio_integrity_init_slab);
709708

710709
static int __init integrity_init(void)
711710
{

0 commit comments

Comments
 (0)