md: use correct type in super_1_sync
authorChristoph Hellwig <hch@lst.de>
Thu, 4 Apr 2019 16:56:13 +0000 (18:56 +0200)
committerSong Liu <songliubraving@fb.com>
Wed, 10 Apr 2019 22:26:09 +0000 (15:26 -0700)
commitae50640bebc48f1fc0092f16ea004c7c4d12c985
tree51deec7d2c2fd9a78d092574023e8b268bd3a6f0
parent00485d094244db47ae2bf4f738e8d0f8d9f5890f
md: use correct type in super_1_sync

If we want to convert from a little endian format we need to cast
to a little endian type, otherwise sparse will be unhappy.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/md.c