[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100128182528.GA29926@infradead.org>
Date: Thu, 28 Jan 2010 13:25:28 -0500
From: Christoph Hellwig <hch@...radead.org>
To: Jun'ichi Nomura <j-nomura@...jp.nec.com>
Cc: Fran?ois Figarola <francois.figarola@...onsult.fr>,
hch@...radead.org, device-mapper development <dm-devel@...hat.com>,
linux-kernel@...r.kernel.org, Neil Brown <neilb@...e.de>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-raid@...r.kernel.org, Al Viro <viro@...iv.linux.org.uk>
Subject: Re: [dm-devel] [BUG] kernel 2.6.32.x hangs during boot process
On Thu, Jan 28, 2010 at 03:32:41PM +0900, Jun'ichi Nomura wrote:
> When MS_RDONLY, both freeze_bdev and thaw_bdev call deactivate_locked_super,
> which seems wrong. The change was introduced with the commit below:
>
> commit 4504230a71566785a05d3e6b53fa1ee071b864eb
> Author: Christoph Hellwig <hch@....de>
> Date: Mon Aug 3 23:28:35 2009 +0200
>
> freeze_bdev: grab active reference to frozen superblocks
>
> With the attached patch, both remount-ro and remount-rw are
> rejected as EBUSY on freezed device as expected.
>
> Christoph, do you think this is the right fix?
Indeed, this looks wrong in my original code, and the patch looks like
the correct fix. Thanks a lot!
Reviewed-by: Christoph Hellwig <hch@....de>
--
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