]> git.baikalelectronics.ru Git - kernel.git/commit
md: use rdev_read_only in restart_array
authorChristoph Hellwig <hch@lst.de>
Mon, 1 Feb 2021 13:17:21 +0000 (14:17 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Feb 2021 16:35:20 +0000 (09:35 -0700)
commit8312c138737b1231a8617228abe5edcdde21871a
tree553b10fdbbea66532cd361d18674d38468d93514
parent544c2b7a8c37a2c3efd51710bcef646c9044df4e
md: use rdev_read_only in restart_array

Make the read-only check in restart_array identical to the other two
read-only checks.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/md.c