]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit10b43024733f21b1d194341ca6595e516b7f048c
treeb94cd77e00da1ef37a4ede44942461ed1509b970
parent5280e8b6f12f55a1bea96a510a4d364da53d6b69
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