take close-on-exec logics to fs/file.c, clean it up a bit
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Aug 2012 13:56:33 +0000 (09:56 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Sep 2012 01:09:56 +0000 (21:09 -0400)
commit6a6d27de340c89c5323565b49f7851362619925d
treeb9b4ab23b43bd330584521917c9b2855c4a4e0cd
parent723a1d77431b0c568730ffac4dd0bcbbd3400031
take close-on-exec logics to fs/file.c, clean it up a bit

... and add cond_resched() there, while we are at it.  We can
get large latencies as is...

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