git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57582b3
)
pnfsblock: don't spinlock when freeing block_dev
author
Peng Tao
<bergwolf@gmail.com>
Thu, 12 Jan 2012 15:18:47 +0000
(23:18 +0800)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 12 Jan 2012 21:39:04 +0000
(16:39 -0500)
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: <stable@vger.kernel.org> #3.1+
Signed-off-by: Peng Tao <peng_tao@emc.com>
Signed-off-by: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
No differences found