commit | a83e814b5bb948850e903585d18b6298b7093cb2 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <[email protected]> | Wed Feb 27 17:05:26 2013 -0800 |
committer | Linus Torvalds <[email protected]> | Wed Feb 27 19:10:22 2013 -0800 |
tree | 3dcb99f6b6c94df5fd32a57a12606416c32f442a | |
parent | 3a2d63f87989e01437ba994df5f297528c353d7d [diff] |
nbd: show read-only state in sysfs Pass the read-only flag to set_device_ro, so that it will be visible to the block layer and in sysfs. Signed-off-by: Paolo Bonzini <[email protected]> Cc: Paul Clements <[email protected]> Cc: Alex Bligh <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>