[PATCH 4/4] file: export put_files_struct()
From: Christian Brauner
Date: Mon Jul 30 2018 - 10:37:59 EST
The Android binder driver will be turned into a module. Since it uses
put_files_struct() 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 430d74642e00..89a62165c5a0 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -422,6 +422,7 @@ void put_files_struct(struct files_struct *files)
kmem_cache_free(files_cachep, files);
}
}
+EXPORT_SYMBOL(put_files_struct);
void reset_files_struct(struct files_struct *files)
{
--
2.17.1