[PATCH 2/4] file: export __fd_install()
From: Christian Brauner
Date: Mon Jul 30 2018 - 10:38:14 EST
The Android binder driver will be turned into a module. Since it
uses __fd_install() we need to export this function.
Signed-off-by: Christian Brauner <christian@xxxxxxxxxx>
Cc: Todd Kjos <tkjos@xxxxxxxxxxx>
Cc: Robert Love <rlove@xxxxxxxxxx>
Cc: Ben Hutching <ben@xxxxxxxxxxxxxxx>
Cc: Martijn Coenen <maco@xxxxxxxxxxx>
Cc: Arve HjÃnnevÃg <arve@xxxxxxxxxxx>
---
fs/file.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/file.c b/fs/file.c
index 90382c3ac6e7..b1ffa7acff69 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -607,6 +607,7 @@ void __fd_install(struct files_struct *files, unsigned int fd,
rcu_assign_pointer(fdt->fd[fd], file);
rcu_read_unlock_sched();
}
+EXPORT_SYMBOL(__fd_install);
void fd_install(unsigned int fd, struct file *file)
{
--
2.17.1