summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorZhangXiaoxu <zhangxiaoxu5@huawei.com>2019-08-19 11:31:21 +0800
committerMike Snitzer <snitzer@redhat.com>2019-08-22 16:11:24 -0400
commitae148243d3f0816b37477106c05a2ec7d5f32614 (patch)
treeff7287f6d90e4ebb7a8c18273e0f78647ba9a3c1 /block
parente4f9d6013820d1eba1432d51dd1c5795759aa77f (diff)
dm space map metadata: fix missing store of apply_bops() return value
In commit 6096d91af0b6 ("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: 6096d91af0b6 ("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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions