[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110121132802.GD2832@htj.dyndns.org>
Date: Fri, 21 Jan 2011 14:28:02 +0100
From: Tejun Heo <tj@...nel.org>
To: "J. R. Okajima" <hooanon05@...oo.co.jp>
Cc: David Brownell <dbrownell@...rs.sourceforge.net>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: 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?
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists