aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/xd.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2008-05-16 11:17:03 +0200
committerRusty Russell <rusty@rustcorp.com.au>2008-05-30 15:09:44 +1000
commit3ef536095446552823fc488fec1c5451aab1260d (patch)
tree9d525f24f2bd07ce1b82f8b60673062e05c41c2e /drivers/block/xd.c
parenta16ffe93c46dfca211434d00453ebb695025978b (diff)
virtio_blk: allow read-only disks
Hello Rusty, sometimes it is useful to share a disk (e.g. usr). To avoid file system corruption, the disk should be mounted read-only in that case. This patch adds a new feature flag, that allows the host to specify, if the disk should be considered read-only. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/block/xd.c')
0 files changed, 0 insertions, 0 deletions