commit | ed4d0a4ea11e19863952ac6a7cea3bbb27ccd452 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Apr 04 18:56:10 2019 +0200 |
committer | Song Liu <songliubraving@fb.com> | Wed Apr 10 15:26:08 2019 -0700 |
tree | 51f45640f09b39203fa8d71ff8fef4d1271c1531 | |
parent | ee37e62191a59d253fc916b9fc763deb777211e2 [diff] |
md: add a missing endianness conversion in check_sb_changes The on-disk value is little endian and we need to convert it to native endian before storing the value in the in-core structure. Fixes: 7564beda19b36 ("md-cluster/raid10: support add disk under grow mode") Cc: <stable@vger.kernel.org> # 4.20+ Acked-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Song Liu <songliubraving@fb.com>