]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - fs/file_table.c
fold security_file_free() into file_free()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Jul 2018 15:24:21 +0000 (11:24 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 11 Jul 2018 03:29:03 +0000 (23:29 -0400)
commite8cff84faa4ddb6716caed085f515fbb1d856099
treeb94cd77e00da1ef37a4ede44942461ed1509b970
parentc7e9075fb89362812059fbf8e25bb4a6e825c4c5
fold security_file_free() into file_free()

.. and the call of file_free() in case of security_file_alloc() failure
in get_empty_filp() should be simply file_free_rcu() - no point in
rcu-delays there, anyway.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file_table.c