Repository navigation
Commit ed4d0a4
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: 7564bed ("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>1 parent ee37e62 commit ed4d0a4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9227 | 9227 | | |
9228 | 9228 | | |
9229 | 9229 | | |
9230 | | - | |
| 9230 | + | |
9231 | 9231 | | |
9232 | 9232 | | |
9233 | 9233 | | |
| |||
0 commit comments