]> 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)
commit3ee6d68c1c3529906574ef874175d74480380353
tree6e22f457d4d8e71239b8e9d3543b71f761403f66
parenta9ea28cdadf7219e769664476d0487236a9ab6ee
fs/file_table: fix adding missing kmemleak_not_leak()

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