From: Alasdair G Kergon Subject: Re: [RFC PATCH] dm: Remove dm_get() from dm_table_get_md() Date: Fri, 15 Jan 2010 19:01:19 +0000 Message-ID: <20100115190118.GF17760@agk-dp.fab.redhat.com> References: <4B41A699.5080802@ct.jp.nec.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4B41A699.5080802@ct.jp.nec.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Kiyoshi Ueda Cc: device-mapper development List-Id: dm-devel.ids On Mon, Jan 04, 2010 at 05:28:09PM +0900, Kiyoshi Ueda wrote: > I'd like to remove dm_get() in dm_table_get_md() because > dm_table_get_md() could be called from presuspend/postsuspend, > which are called while mapped_device is in DMF_FREEING state, > where dm_get() is not allowed. I haven't spotted any problems with this, so I'm queueing it to linux-next. Alasdair