[PATCH] fs: export kern_path_locked

From: Denis Kirjanov
Date: Mon Jan 25 2021 - 11:00:22 EST


the function is used outside and we have a prototype
defined in namei.h

Signed-off-by: Denis Kirjanov <kda@xxxxxxxxxxxxxxxxx>
---
fs/namei.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/namei.c b/fs/namei.c
index 78443a85480a..3de3b3642302 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2450,6 +2450,7 @@ struct dentry *kern_path_locked(const char *name, struct path *path)
putname(filename);
return d;
}
+EXPORT_SYMBOL(kern_path_locked);

int kern_path(const char *name, unsigned int flags, struct path *path)
{
--
2.16.4