diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-02-28 02:05:26 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-28 04:10:22 +0100 |
commit | a83e814b5bb948850e903585d18b6298b7093cb2 (patch) | |
tree | 3dcb99f6b6c94df5fd32a57a12606416c32f442a /drivers/block/cciss.h | |
parent | nbd: fsync and kill block device on shutdown (diff) | |
download | linux-a83e814b5bb948850e903585d18b6298b7093cb2.tar.xz linux-a83e814b5bb948850e903585d18b6298b7093cb2.zip |
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 <pbonzini@redhat.com>
Cc: Paul Clements <Paul.Clements@steeleye.com>
Cc: Alex Bligh <alex@alex.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/cciss.h')
0 files changed, 0 insertions, 0 deletions