autofs4: don't open-code fd_install()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 Aug 2012 22:04:37 +0000 (18:04 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Sep 2012 01:08:51 +0000 (21:08 -0400)
The only difference between autofs_dev_ioctl_fd_install() and
fd_install() is __set_close_on_exec() done by the latter.  Just
use get_unused_fd_flags(O_CLOEXEC) to allocate the descriptor
and be done with that...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

No differences found