android_kernel_xiaomi_sm8350/drivers/md
Jesper Juhl 851a8a7fd4 dm: fix memory leak in dm_create_persistent() when starting metadata update thread fails
If, in dm_create_persistent(), the call to create_singlethread_workqueue()
fails then we'll return without freeing the memory allocated to 'ps', thus
leaking sizeof(struct pstore) bytes.  This patch fixes the leak.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com
Acked-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-18 08:38:22 -07:00
..
raid6test
.gitignore
bitmap.c md: change bitmap_unplug and others to void functions 2007-07-17 10:23:15 -07:00
dm-bio-list.h dm: bio_list prefetch removal 2007-07-12 15:01:08 -07:00
dm-bio-record.h
dm-crypt.c dm: disable barriers 2007-07-12 15:01:08 -07:00
dm-delay.c dm delay: cleanup 2007-07-12 15:01:08 -07:00
dm-emc.c
dm-exception-store.c dm: fix memory leak in dm_create_persistent() when starting metadata update thread fails 2007-07-18 08:38:22 -07:00
dm-hw-handler.c
dm-hw-handler.h
dm-io.c dm io: fix panic on large request 2007-07-12 15:01:08 -07:00
dm-io.h
dm-ioctl.c
dm-linear.c
dm-log.c
dm-log.h
dm-mpath-rdac.c dm mpath: rdac 2007-07-12 15:01:23 -07:00
dm-mpath.c dm: disable barriers 2007-07-12 15:01:08 -07:00
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-raid1.c dm raid1: handle log failure 2007-07-12 15:01:08 -07:00
dm-round-robin.c dm: remove duplicate module name from error msgs 2007-07-12 15:01:08 -07:00
dm-snap.c dm: disable barriers 2007-07-12 15:01:08 -07:00
dm-snap.h dm: use kmem_cache macro 2007-07-12 15:01:08 -07:00
dm-stripe.c
dm-table.c
dm-target.c
dm-zero.c
dm.c unregister_blkdev() delete redundant messages in callers 2007-07-17 10:23:03 -07:00
dm.h dm: add ratelimit logging macros 2007-07-12 15:01:08 -07:00
faulty.c
Kconfig Use menuconfig objects II - MD 2007-07-17 10:23:15 -07:00
kcopyd.c dm: use kmem_cache macro 2007-07-12 15:01:08 -07:00
kcopyd.h
linear.c
Makefile Merge branch 'ioat-md-accel-for-linus' of git://lost.foo-projects.org/~dwillia2/git/iop 2007-07-13 10:52:27 -07:00
md.c md: change bitmap_unplug and others to void functions 2007-07-17 10:23:15 -07:00
mktables.c
multipath.c
raid0.c
raid1.c md: change bitmap_unplug and others to void functions 2007-07-17 10:23:15 -07:00
raid5.c md: remove raid5 compute_block and compute_parity5 2007-07-13 08:06:18 -07:00
raid6.h
raid6algos.c
raid6altivec.uc
raid6int.uc
raid6mmx.c
raid6recov.c
raid6sse1.c
raid6sse2.c
raid6x86.h
raid10.c md: change bitmap_unplug and others to void functions 2007-07-17 10:23:15 -07:00
unroll.pl