[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180730143710.14413-2-christian@brauner.io>
Date: Mon, 30 Jul 2018 16:37:07 +0200
From: Christian Brauner <christian@...uner.io>
To: viro@...iv.linux.org.uk, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: arve@...roid.com, tkjos@...roid.com, maco@...roid.com,
rlove@...gle.com, ben@...adent.org.uk,
Christian Brauner <christian@...uner.io>
Subject: [PATCH 1/4] file: export __alloc_fd()
The Android binder driver will be turned into a module. Since it uses
__alloc_fd() we need to export this function.
Signed-off-by: Christian Brauner <christian@...uner.io>
Cc: Todd Kjos <tkjos@...roid.com>
Cc: Robert Love <rlove@...gle.com>
Cc: Ben Hutching <ben@...adent.org.uk>
Cc: Martijn Coenen <maco@...roid.com>
Cc: Arve Hjønnevåg <arve@...roid.com>
---
fs/file.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/file.c b/fs/file.c
index 7ffd6e9d103d..90382c3ac6e7 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -533,6 +533,7 @@ int __alloc_fd(struct files_struct *files,
spin_unlock(&files->file_lock);
return error;
}
+EXPORT_SYMBOL(__alloc_fd);
static int alloc_fd(unsigned start, unsigned flags)
{
--
2.17.1
Powered by blists - more mailing lists