ZhangXiaoxu
f4f7e6d57b
dm space map metadata: fix missing store of apply_bops() return value
...
commit ae148243d3f0816b37477106c05a2ec7d5f32614 upstream.
In commit 6096d91af0 ("dm space map metadata: fix occasional leak
of a metadata block on resize"), we refactor the commit logic to a new
function 'apply_bops'. But when that logic was replaced in out() the
return value was not stored. This may lead out() returning a wrong
value to the caller.
Fixes: 6096d91af0 ("dm space map metadata: fix occasional leak of a metadata block on resize")
Cc: stable@vger.kernel.org
Signed-off-by: ZhangXiaoxu <zhangxiaoxu5@huawei.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-09-06 10:19:38 +02:00
..
dm-array.c
dm array: introduce cursor api
2016-09-22 11:15:04 -04:00
dm-array.h
dm array: introduce cursor api
2016-09-22 11:15:04 -04:00
dm-bitset.c
dm bitset: only flush the current word if it has been dirtied
2014-03-27 16:56:23 -04:00
dm-bitset.h
dm bitset: only flush the current word if it has been dirtied
2014-03-27 16:56:23 -04:00
dm-block-manager.c
dm block manager: cleanup code that prints stacktrace
2015-12-10 10:38:56 -05:00
dm-block-manager.h
dm persistent data: eliminate unnecessary return values
2015-10-31 19:06:02 -04:00
dm-btree-internal.h
dm persistent data: eliminate unnecessary return values
2015-10-31 19:06:02 -04:00
dm-btree-remove.c
- Revert a dm-multipath change that caused a regression for unprivledged
2015-11-04 21:19:53 -08:00
dm-btree-spine.c
dm persistent data: eliminate unnecessary return values
2015-10-31 19:06:02 -04:00
dm-btree.c
dm btree: fix order of block initialization in btree_split_beneath
2019-09-06 10:19:38 +02:00
dm-btree.h
dm btree: introduce cursor api
2016-09-22 11:15:04 -04:00
dm-persistent-data-internal.h
dm-space-map-common.c
dm persistent data: eliminate unnecessary return values
2015-10-31 19:06:02 -04:00
dm-space-map-common.h
dm-space-map-disk.c
dm space map disk: fix some book keeping in the disk space map
2017-05-25 15:44:33 +02:00
dm-space-map-disk.h
dm-space-map-metadata.c
dm space map metadata: fix missing store of apply_bops() return value
2019-09-06 10:19:38 +02:00
dm-space-map-metadata.h
dm thin: allow metadata space larger than supported to go unused
2014-02-27 11:49:08 -05:00
dm-space-map.h
dm persistent data: add threshold callback to space map
2013-05-10 14:37:20 +01:00
dm-transaction-manager.c
dm persistent data: eliminate unnecessary return values
2015-10-31 19:06:02 -04:00
dm-transaction-manager.h
dm persistent data: eliminate unnecessary return values
2015-10-31 19:06:02 -04:00
Kconfig
dm bufio: store stacktrace in buffers to help find buffer leaks
2015-12-10 10:38:58 -05:00
Makefile
dm persistent data: add bitset
2013-03-01 22:45:51 +00:00