Searched hist:e00adcadf3af7a8335026d71ab9f0e0a922191ac (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/block/ |
H A D | ioctl.c | diff e00adcadf3af7a8335026d71ab9f0e0a922191ac Tue Nov 03 04:00:11 CST 2020 Christoph Hellwig <hch@lst.de> block: add a new set_read_only method
Add a new method to allow for driver-specific processing when setting or clearing the block device read-only state. This allows to replace the cumbersome and error-prone override of the whole ioctl implementation.
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
/openbmc/linux/include/linux/ |
H A D | blkdev.h | diff e00adcadf3af7a8335026d71ab9f0e0a922191ac Tue Nov 03 04:00:11 CST 2020 Christoph Hellwig <hch@lst.de> block: add a new set_read_only method
Add a new method to allow for driver-specific processing when setting or clearing the block device read-only state. This allows to replace the cumbersome and error-prone override of the whole ioctl implementation.
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|