aboutsummaryrefslogtreecommitdiff
path: root/fs/fs_struct.c
diff options
context:
space:
mode:
authorGuenter Roeck <groeck@chromium.org>2017-01-30 12:26:08 -0800
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:35:26 +0200
commitedb178d9ec192bd3fdbf0329d0f1587be5c45691 (patch)
treee398ba3b84087b8bd21b14a49c0bde80ee313544 /fs/fs_struct.c
parentc3b709c578685c06a88cf8fc9a0c94c80512e11b (diff)
ANDROID: fs: Export free_fs_struct and set_fs_pwd
allmodconfig builds fail with: ERROR: "free_fs_struct" undefined! ERROR: "set_fs_pwd" undefined! Export the missing symbols. Change-Id: I4877ead19d7e7f0c93d4c4cad5681364284323aa Fixes: 0ec03f845799 ("ANDROID: sdcardfs: override umask on mkdir and create") Signed-off-by: Guenter Roeck <groeck@chromium.org> (cherry picked from commit 1cd3d347147bee1b8a3fb7624ab23eb3bdcece41) Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'fs/fs_struct.c')
-rw-r--r--fs/fs_struct.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/fs_struct.c b/fs/fs_struct.c
index 5a1bb8242..3457ad319 100644
--- a/fs/fs_struct.c
+++ b/fs/fs_struct.c
@@ -44,6 +44,7 @@ void set_fs_pwd(struct fs_struct *fs, const struct path *path)
if (old_pwd.dentry)
path_put(&old_pwd);
}
+EXPORT_SYMBOL(set_fs_pwd);
static inline int replace_path(struct path *p, const struct path *old, const struct path *new)
{
@@ -89,6 +90,7 @@ void free_fs_struct(struct fs_struct *fs)
path_put(&fs->pwd);
kmem_cache_free(fs_cachep, fs);
}
+EXPORT_SYMBOL(free_fs_struct);
void exit_fs(struct task_struct *tsk)
{