[PATCH 15/20] fs: export kern_path_locked() to reuse the code
Chaitanya Kulkarni
chaitanya.kulkarni at wdc.com
Wed Apr 18 12:00:06 PDT 2018
We export kern_path_locked to reuse the code.
We use this API when deleting the file when host
calls nvme-delete-ns command.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
---
fs/namei.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/namei.c b/fs/namei.c
index cafa365eeb70..9a57e33175c4 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2398,6 +2398,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.14.1
More information about the Linux-nvme
mailing list