]> git.ipfire.org Git - thirdparty/mdadm.git/commit
super1: fix truncation check for journal device
authorHristo Venev <hristo@venev.name>
Sat, 1 Apr 2023 20:01:35 +0000 (23:01 +0300)
committerJes Sorensen <jes@trained-monkey.org>
Mon, 10 Apr 2023 15:24:55 +0000 (11:24 -0400)
commit1c6f2a1dbfe17df14dd5b062fc53a60c5c387e47
tree9870cc5ab1fa2afe75c69702cd009aedc5347d3f
parent890212d6800646153210ac264ce73035cc7dd5cc
super1: fix truncation check for journal device

The journal device can be smaller than the component devices.

Fixes: 171e9743881e ("super1: report truncated device")
Signed-off-by: Hristo Venev <hristo@venev.name>
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
super1.c