diff options
author | Peng Tao <bergwolf@gmail.com> | 2012-01-12 16:18:47 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-12 22:39:04 +0100 |
commit | 93a3844ee0f843b05a1df4b52e1a19ff26b98d24 (patch) | |
tree | efd2ca7a8a711e779a04c47af6166abd8f844073 /kernel/itimer.c | |
parent | pnfsblock: clean up _add_entry (diff) | |
download | linux-93a3844ee0f843b05a1df4b52e1a19ff26b98d24.tar.xz linux-93a3844ee0f843b05a1df4b52e1a19ff26b98d24.zip |
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: <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>
Diffstat (limited to 'kernel/itimer.c')
0 files changed, 0 insertions, 0 deletions