]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit585cf6caa2ef5f6d8e8064db24dc506bf5f6a678
tree6e22f457d4d8e71239b8e9d3543b71f761403f66
parent823167d20998e8367688c0455bfe21c2b19040fd
fs/file_table: fix adding missing kmemleak_not_leak()

Commit bd6ea65287c7 ("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: bd6ea65287c7 ("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