Comment 111 for bug 332270

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Alasdair: patch for LVM2 attached - this makes functions that only read from a block device open with O_RDONLY instead of writable-if-they-can. If another function comes along and needs it writable, dev_open_flags() already does the right thing and reopens it anyway.