[PATCH 2/5] fdtable: export alloc_fd()

Tejun Heo
2009-04-14T02:07:35Z

Export alloc_fd(). Will be used by FUSE.

Signed-off-by: Tejun Heo <tj@kernel.org>
---
fs/file.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/file.c b/fs/file.c
index f313314..806b3ad 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -487,6 +487,7 @@ out:
spin_unlock(&files->file_lock);
return error;
}
+EXPORT_SYMBOL_GPL(alloc_fd);

int get_unused_fd(void)
{
--
1.6.0.2