loop: clear read-only flag in loop_clr_fd.
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Review
Quoted 10 lines · Tao Ma
---
a/drivers/block/loop.c(quoted diff) +3
-1- if (bdev) + if (bdev) { + set_device_ro(bdev, 0); invalidate_bdev(bdev); + } set_capacity(lo->lo_disk, 0); loop_sysfs_exit(lo); if (bdev) {
This looks like set_device_ro() should imply invalidate_bdev().
Signature · 4 lines
E.G.G.E.R.T.: Electronic Guardian Generated for
Efficient Repair and Troubleshooting
-- http://www.brunching.com/toys/toy-cyborger.html (down)
Friß, Spammer: [email protected] [email protected]