fs/file_table: fix adding missing kmemleak_not_leak()
authorLuis Chamberlain <mcgrof@kernel.org>
Tue, 15 Feb 2022 02:08:28 +0000 (18:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Feb 2022 18:23:19 +0000 (10:23 -0800)
commita3580ac9b7a394a7d780448ba75cc5348d8a9e04
tree6e22f457d4d8e71239b8e9d3543b71f761403f66
parent2dd3a8a139082679b7a73fc32596aa667b0841d1
fs/file_table: fix adding missing kmemleak_not_leak()

Commit b42bc9a3c511 ("Fix regression due to "fs: move binfmt_misc sysctl
to its own file") fixed a regression, however it failed to add a
kmemleak_not_leak().

Fixes: b42bc9a3c511 ("Fix regression due to "fs: move binfmt_misc sysctl to its own file")
Reported-by: Tong Zhang <ztong0001@gmail.com>
Cc: Tong Zhang <ztong0001@gmail.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/file_table.c