summaryrefslogtreecommitdiff
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-06-05 12:26:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-06 14:42:52 +0300
commit1de0fd828661a068a574381c5bcd3b0a19f522c5 (patch)
tree1dfc6c02cb073565ca31863b9eb015a0600a1018 /fs/f2fs/super.c
parentd14a94d03cc99c9d7df1ad7081701d7702680b8c (diff)
downloadlinux-1de0fd828661a068a574381c5bcd3b0a19f522c5.tar.xz
dm: Use kzalloc for all structs with embedded biosets/mempools
[ Upstream commit d377535405686f735b90a8ad4ba269484cd7c96e ] mempool_init()/bioset_init() require that the mempools/biosets be zeroed first; they probably should not _require_ this, but not allocating those structs with kzalloc is a fairly nonsensical thing to do (calling mempool_exit()/bioset_exit() on an uninitialized mempool/bioset is legal and safe, but only works if said memory was zeroed.) Acked-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
0 files changed, 0 insertions, 0 deletions