From: Jeff Mahoney Date: Mon, 26 Jun 2006 07:27:21 +0000 (-0700) Subject: [PATCH] dm: move idr_pre_get X-Git-Tag: v2.6.18-rc1~667 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62f75c2f3244553b1290447abd1f1e6b1144d3e9;p=pandora-kernel.git [PATCH] dm: move idr_pre_get idr_pre_get() can sleep while allocating memory. The next patch will change _minor_lock into a spinlock, so this patch moves idr_pre_get() outside the lock in preparation. [akpm: too late for 2.6.17 - suitable for 2.6.17.x after it has settled] Signed-off-by: Jeff Mahoney Signed-off-by: Alasdair G Kergon Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed