[PATCH 1/2] mm: export is_vmalloc_or_module_addr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Export is_vmalloc_or_module_addr - we will need it in device mapper to
determine if the error string is statically or dynamically allocated.

Signed-off-by: Mikulas Patocka <mpatocka@xxxxxxxxxx>

---
 mm/vmalloc.c |    1 +
 1 file changed, 1 insertion(+)

Index: linux-dm/mm/vmalloc.c
===================================================================
--- linux-dm.orig/mm/vmalloc.c	2022-09-05 13:29:57.000000000 +0200
+++ linux-dm/mm/vmalloc.c	2022-09-05 14:30:51.000000000 +0200
@@ -637,6 +637,7 @@ int is_vmalloc_or_module_addr(const void
 #endif
 	return is_vmalloc_addr(x);
 }
+EXPORT_SYMBOL(is_vmalloc_or_module_addr);
 
 /*
  * Walk a vmap address to the struct page it maps. Huge vmap mappings will
--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux