OSDN Git Service

md: use correct type in super_1_load
authorChristoph Hellwig <hch@lst.de>
Thu, 4 Apr 2019 16:56:12 +0000 (18:56 +0200)
committerSong Liu <songliubraving@fb.com>
Wed, 10 Apr 2019 22:26:08 +0000 (15:26 -0700)
commit00485d094244db47ae2bf4f738e8d0f8d9f5890f
tree060df1a40bd4e056ec90ea7147afac800a0e869b
parentc35403f82ced283807f31eeafc2a7aebf1b20331
md: use correct type in super_1_load

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