android_kernel_oneplus_msm8998/drivers/md
Kent Overstreet d9b19e637b 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>
2019-11-06 12:09:10 +01:00
..
bcache bcache: check c->gc_thread by IS_ERR_OR_NULL in cache_set_flush() 2019-08-04 09:34:48 +02:00
persistent-data dm space map metadata: fix missing store of apply_bops() return value 2019-09-06 10:18:10 +02:00
bitmap.c md/bitmap: disable bitmap_resize for file-backed bitmaps. 2017-09-27 11:00:14 +02:00
bitmap.h
dm-bio-prison.c dm: Use kzalloc for all structs with embedded biosets/mempools 2019-11-06 12:09:10 +01:00
dm-bio-prison.h
dm-bio-record.h
dm-bufio.c Revert "dm bufio: fix deadlock with loop device" 2019-09-06 10:18:09 +02:00
dm-bufio.h
dm-builtin.c
dm-cache-block-types.h
dm-cache-metadata.c dm cache metadata: save in-core policy_hint_size to on-disk superblock 2018-09-09 20:04:33 +02:00
dm-cache-metadata.h
dm-cache-policy-cleaner.c
dm-cache-policy-internal.h
dm-cache-policy-mq.c
dm-cache-policy-smq.c
dm-cache-policy.c
dm-cache-policy.h
dm-cache-target.c dm cache: fix resize crash if user doesn't reload cache table 2018-10-13 09:11:32 +02:00
dm-crypt.c
dm-delay.c dm delay: fix a crash when invalid device is specified 2019-06-11 12:23:48 +02:00
dm-era-target.c
dm-exception-store.c
dm-exception-store.h
dm-flakey.c
dm-io.c dm: Use kzalloc for all structs with embedded biosets/mempools 2019-11-06 12:09:10 +01:00
dm-ioctl.c dm ioctl: harden copy_params()'s copy_from_user() from malicious users 2018-11-21 09:27:36 +01:00
dm-kcopyd.c dm: Use kzalloc for all structs with embedded biosets/mempools 2019-11-06 12:09:10 +01:00
dm-linear.c
dm-log-userspace-base.c
dm-log-userspace-transfer.c
dm-log-userspace-transfer.h
dm-log-writes.c
dm-log.c
dm-mpath.c
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-queue-length.c
dm-raid.c
dm-raid1.c
dm-region-hash.c dm: Use kzalloc for all structs with embedded biosets/mempools 2019-11-06 12:09:10 +01:00
dm-round-robin.c
dm-service-time.c
dm-snap-persistent.c
dm-snap-transient.c
dm-snap.c dm: Use kzalloc for all structs with embedded biosets/mempools 2019-11-06 12:09:10 +01:00
dm-stats.c
dm-stats.h
dm-stripe.c
dm-switch.c
dm-sysfs.c
dm-table.c dm table: fix invalid memory accesses with too high sector number 2019-09-06 10:18:11 +02:00
dm-target.c
dm-thin-metadata.c dm thin metadata: fix __udivdi3 undefined on 32-bit 2018-10-10 08:52:13 +02:00
dm-thin-metadata.h
dm-thin.c dm: Use kzalloc for all structs with embedded biosets/mempools 2019-11-06 12:09:10 +01:00
dm-uevent.c
dm-uevent.h
dm-verity.c dm verity: use message limit for data block corruption message 2019-07-21 09:07:14 +02:00
dm-zero.c
dm.c dm: correctly handle chained bios in dec_pending() 2018-02-22 15:45:01 +01:00
dm.h
faulty.c
Kconfig
linear.c md/linear: shutup lockdep warnning 2017-10-21 17:09:05 +02:00
linear.h
Makefile
md-cluster.c md-cluster: clear another node's suspend_area after the copy is finished 2018-10-10 08:52:04 +02:00
md-cluster.h
md.c md: don't set In_sync if array is frozen 2019-10-05 12:27:47 +02:00
md.h
multipath.c
multipath.h
raid0.c
raid0.h
raid1.c md/raid1: fail run raid1 array when active disk less than one 2019-10-05 12:27:49 +02:00
raid1.h
raid5-cache.c
raid5.c md/raid6: Set R5_ReadError when there is read failure on parity disk 2019-10-05 12:27:54 +02:00
raid5.h
raid10.c md: Fix failed allocation of md_register_thread 2019-03-23 08:44:39 +01:00
raid10.h