aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2013-04-05 16:22:33 -0600
committerMister Oyster <oysterized@gmail.com>2017-12-31 03:25:55 +0100
commita0889eeee819e5b5039c840c331df9010cb9fbc5 (patch)
tree1a2cacdfea267a46fbdd0a487313e37a87b67d64 /fs
parentea776cc85615113b780fc6126aa0c7601209cf50 (diff)
fs: Mark alloc_fd with EXPORT_SYMBOL
mark alloc_fd with EXPORT_SYMBOL so it can be used by modules. Change-Id: Ic0dedbadecd2d0937cad8268aaa6eabbc52019ff Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/file.c b/fs/file.c
index a1e89ce78..0829c724f 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -716,6 +716,7 @@ static int alloc_fd(unsigned start, unsigned flags)
{
return __alloc_fd(current->files, start, rlimit(RLIMIT_NOFILE), flags);
}
+EXPORT_SYMBOL(alloc_fd);
int get_unused_fd_flags(unsigned flags)
{