From a2ec4a2d5cf35972b0e4dd84f66142bc76bb6cb2 Mon Sep 17 00:00:00 2001
From: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed, 13 May 2015 06:57:49 -0400
Subject: [PATCH] inline user_path_parent()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 fs/namei.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/namei.c b/fs/namei.c
index 8d453041a323..53f832adca7e 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2312,7 +2312,7 @@ EXPORT_SYMBOL(user_path_at);
  *     allocated by getname. So we must hold the reference to it until all
  *     path-walking is complete.
  */
-static struct filename *
+static inline struct filename *
 user_path_parent(int dfd, const char __user *path,
 		 struct path *parent,
 		 struct qstr *last,
-- 
GitLab