[lkml]   [2011]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Q. block: check bdev_read_only() from blkdev_get()
    On Fri, Jan 21, 2011 at 10:19:39PM +0900, J. R. Okajima wrote:
    > By the commit 75f1dc0
    > 2010-11-13 block: check bdev_read_only() from blkdev_get()
    > bdev_read_only() call is added into blkdev_get().
    > This check makes the loopback block device unable to be mounted as
    > writable once it is set to readonly, even if the corresponding is
    > detached and the device becomes free.
    > We may need to re-initialize the readonly/writable status flag somewhere?

    Yeah, it should definitely reset r/w flag on each mount. Interested
    in fixing it?



     \ /
      Last update: 2011-01-21 14:31    [W:0.031 / U:95.916 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site