diff mbox series

[4/4] file: export put_files_struct()

Message ID 20180730143710.14413-5-christian@brauner.io (mailing list archive)
State New, archived
Headers show
Series file: export functions for binder module | expand

Commit Message

Christian Brauner July 30, 2018, 2:37 p.m. UTC
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@brauner.io>
Cc: Todd Kjos <tkjos@android.com>
Cc: Robert Love <rlove@google.com>
Cc: Ben Hutching <ben@decadent.org.uk>
Cc: Martijn Coenen <maco@android.com>
Cc: Arve Hjønnevåg <arve@android.com>
---
 fs/file.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Christoph Hellwig July 30, 2018, 4:33 p.m. UTC | #1
On Mon, Jul 30, 2018 at 04:37:10PM +0200, Christian Brauner wrote:
> The Android binder driver will be turned into a module. Since it uses
> put_files_struct() we need to export this function.

Same as above.
diff mbox series

Patch

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)
 {