make acct_kill() wait for file closing.
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 7 Aug 2014 11:35:19 +0000 (07:35 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 7 Aug 2014 18:40:08 +0000 (14:40 -0400)
commit17c0a5aaffa63da6b5c73a31e36616bdcd12d143
tree5dfe2d6eaf41ee01aad44eaad06766dc67c74545
parent0aec09d049d7e994eba54bad4376dd8f58eab797
make acct_kill() wait for file closing.

Do actual closing of file via schedule_work().  And use
__fput_sync() there.

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