]> 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)
commitfb6b7c12a8a67c1178aed0d866e25c5da278af85
tree553b10fdbbea66532cd361d18674d38468d93514
parent52c8cc313efde2f717721aaefca2006151261249
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