aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-08-21 19:51:39 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2024-10-09 11:28:06 -0400
commitb8ea429d7249253ec1fe90dffc648f0668d12385 (patch)
treee0b437967a278a2e1c0de1733f74b31412a53439 /drivers/fpga/microchip-spi.c
parente880d33b49e62a76a23d2dcdb32e088a6553d299 (diff)
downloadlinux-b8ea429d7249253ec1fe90dffc648f0668d12385.tar.gz
linux-b8ea429d7249253ec1fe90dffc648f0668d12385.tar.bz2
linux-b8ea429d7249253ec1fe90dffc648f0668d12385.zip
make __set_open_fd() set cloexec state as well
->close_on_exec[] state is maintained only for opened descriptors; as the result, anything that marks a descriptor opened has to set its cloexec state explicitly. As the result, all calls of __set_open_fd() are followed by __set_close_on_exec(); might as well fold it into __set_open_fd() so that cloexec state is defined as soon as the descriptor is marked opened. [braino fix folded] Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions