[PATCH] merge locate_fd() and get_unused_fd()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 30 Jul 2008 08:13:04 +0000 (04:13 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Aug 2008 15:25:23 +0000 (11:25 -0400)
commit1027abe8827b47f7e9c4ed6514fde3d44f79963c
treebe6aba7e46176534cc71622de53a8bcbf28a06c4
parenta1bc6eb4b499ae67ada9a01660010580b6569403
[PATCH] merge locate_fd() and get_unused_fd()

New primitive: alloc_fd(start, flags).  get_unused_fd() and
get_unused_fd_flags() become wrappers on top of it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fcntl.c
fs/file.c
fs/open.c
include/linux/file.h