]> asedeno.scripts.mit.edu Git - linux.git/commit
vfs: stop clearing close on exec when closing a fd
authorMateusz Guzik <mguzik@redhat.com>
Tue, 3 Oct 2017 10:58:14 +0000 (12:58 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 5 Nov 2017 23:58:06 +0000 (18:58 -0500)
commit5297908270549b734c7c2556745e2385b6d4941d
tree1598865e6446d2177af03d53ac2135a3a6f7e01e
parent63dcb81e5b9e1faadf4b55450141bc4446e5a3d3
vfs: stop clearing close on exec when closing a fd

Codepaths allocating a fd always make sure the bit is set/unset
depending on flags, thus clearing on close is redundant.

Signed-off-by: Mateusz Guzik <mguzik@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file.c