From: Peng Tao Date: Thu, 12 Jan 2012 15:18:47 +0000 (+0800) Subject: pnfsblock: don't spinlock when freeing block_dev X-Git-Tag: v3.3-rc1~41^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93a3844ee0f843b05a1df4b52e1a19ff26b98d24;p=pandora-kernel.git pnfsblock: don't spinlock when freeing block_dev bl_free_block_dev() may sleep. We can not call it with spinlock held. Besides, there is no need to take bm_lock as we are last user freeing bm_devlist. Cc: #3.1+ Signed-off-by: Peng Tao Signed-off-by: Benny Halevy Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed