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>
This commit is contained in:
parent
c902459d90
commit
e03e79225e
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,7 @@ void set_fs_pwd(struct fs_struct *fs, const struct path *path)
|
||||||
if (old_pwd.dentry)
|
if (old_pwd.dentry)
|
||||||
path_put(&old_pwd);
|
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)
|
static inline int replace_path(struct path *p, const struct path *old, const struct path *new)
|
||||||
{
|
{
|
||||||
|
@ -90,6 +91,7 @@ void free_fs_struct(struct fs_struct *fs)
|
||||||
path_put(&fs->pwd);
|
path_put(&fs->pwd);
|
||||||
kmem_cache_free(fs_cachep, fs);
|
kmem_cache_free(fs_cachep, fs);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(free_fs_struct);
|
||||||
|
|
||||||
void exit_fs(struct task_struct *tsk)
|
void exit_fs(struct task_struct *tsk)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue