lkml.org 
[lkml]   [2021]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] fs: export kern_path_locked
Date
the function is used outside and we have a prototype
defined in namei.h

Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org>
---
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
\
 
 \ /
  Last update: 2021-01-25 17:01    [W:0.070 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site