aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-08-12 18:04:37 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-09-26 21:08:51 -0400
commitc921b40d6201f7ec7b1edf7ea9a844f93e1a27f4 (patch)
tree11d4837e161766d30056dfd0ba5ef6f37ec68277 /include
parentmake get_unused_fd_flags() a function (diff)
downloadwireguard-linux-c921b40d6201f7ec7b1edf7ea9a844f93e1a27f4.tar.xz
wireguard-linux-c921b40d6201f7ec7b1edf7ea9a844f93e1a27f4.zip
autofs4: don't open-code fd_install()
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions