[PATCH 30/32] lib: Export errname

Kent Overstreet
2023-05-09T17:00:16Z

The bcachefs module now wants this and it seems sensible.

Signed-off-by: Christopher James Halse Rogers <raof@ubuntu.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
---
lib/errname.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/lib/errname.c b/lib/errname.c
index 67739b174a..dd1b998552 100644
--- a/lib/errname.c
+++ b/lib/errname.c
@@ -228,3 +228,4 @@ const char *errname(int err)

return err > 0 ? name + 1 : name;
}
+EXPORT_SYMBOL(errname);
--
2.40.1