Files
linux-apfs/drivers/block
Josh Durgin 22001f619f rbd: only set disk to read-only once
rbd_open(), called every time the device is opened, calls
set_device_ro().  There's no reason to set the device read-only or
read-write every time it is opened. Just do this once during device
setup, using set_disk_ro() instead because the struct block_device
isn't available to us there.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
2014-06-10 18:09:25 -07:00
..
2014-03-04 07:55:47 -08:00
2014-04-07 16:36:02 -07:00
2014-03-13 14:56:38 -06:00
2014-03-13 14:56:38 -06:00
2014-01-30 16:56:55 -08:00
2014-01-30 16:56:55 -08:00
2014-04-01 23:19:10 -04:00
2014-01-03 10:05:34 +01:00
2014-06-10 18:09:25 -07:00
2013-11-08 09:10:30 -07:00
2014-03-13 14:56:38 -06:00