]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Btrfs: drop spin lock when memory alloc fails
authorLiu Bo <liubo2009@cn.fujitsu.com>
Thu, 8 Dec 2011 01:08:40 +0000 (20:08 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 8 Dec 2011 13:55:47 +0000 (08:55 -0500)
commit1cf4ffdb3289624a6462c94f2ce05545b32ef736
treef8a981628e108b8a97d4abb3e0be3d8f13824e55
parenta5d16333612718569ffd26064270e535cb9c3928
Btrfs: drop spin lock when memory alloc fails

Drop spin lock in convert_extent_bit() when memory alloc fails,
otherwise, it will be a deadlock.

Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c