]> git.baikalelectronics.ru Git - kernel.git/commit
dm era: Use correct value size in equality function of writeset tree
authorNikos Tsironis <ntsironis@arrikto.com>
Fri, 22 Jan 2021 15:25:55 +0000 (17:25 +0200)
committerMike Snitzer <snitzer@redhat.com>
Wed, 10 Feb 2021 18:32:49 +0000 (13:32 -0500)
commit13998b9a8ee41880ba6d09a36d2d50846ff670ad
tree1ab7b64f47aa72c63c7f77e8a9180523160feae8
parentbea86b0bb281bb599c869f84b5f17580a42b715b
dm era: Use correct value size in equality function of writeset tree

Fix the writeset tree equality test function to use the right value size
when comparing two btree values.

Fixes: b83b01ee643a86 ("dm: add era target")
Cc: stable@vger.kernel.org # v3.15+
Signed-off-by: Nikos Tsironis <ntsironis@arrikto.com>
Reviewed-by: Ming-Hung Tsai <mtsai@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-era-target.c