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 <christ...@brauner.io>
Cc: Todd Kjos <tk...@android.com>
Cc: Robert Love <rl...@google.com>
Cc: Ben Hutching <b...@decadent.org.uk>
Cc: Martijn Coenen <m...@android.com>
Cc: Arve Hjønnevåg <a...@android.com>
---
 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

Reply via email to