]> Git Repo - linux.git/commit
virtio_blk: allow read-only disks
authorChristian Borntraeger <[email protected]>
Fri, 16 May 2008 09:17:03 +0000 (11:17 +0200)
committerRusty Russell <[email protected]>
Fri, 30 May 2008 05:09:44 +0000 (15:09 +1000)
commit3ef536095446552823fc488fec1c5451aab1260d
tree9d525f24f2bd07ce1b82f8b60673062e05c41c2e
parenta16ffe93c46dfca211434d00453ebb695025978b
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 <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
drivers/block/virtio_blk.c
include/linux/virtio_blk.h
This page took 0.051583 seconds and 4 git commands to generate.