]> git.baikalelectronics.ru Git - kernel.git/commit
dasd: implement ->set_read_only to hook into BLKROSET processing
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Nov 2020 10:00:14 +0000 (11:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:14:29 +0000 (08:14 -0700)
commit917416a1f78eb44b99c8c8d4e32712aea4de18b6
tree6b30105be5bf36d46852354f5ad55b07ec0fdf26
parent14c0b44c6df43fe8af7cadc14a49dfa242ff63c1
dasd: implement ->set_read_only to hook into BLKROSET processing

Implement the ->set_read_only method instead of parsing the actual
ioctl command.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dasd.c
drivers/s390/block/dasd_int.h
drivers/s390/block/dasd_ioctl.c