]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't steal the reserved space from the global reserve if their space type...
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 13 May 2013 13:55:11 +0000 (13:55 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Sat, 18 May 2013 01:40:25 +0000 (21:40 -0400)
commit4b2ecc2aceb833a1a0ad26291bf0acde7bc43f37
tree9c892f0bbe0d393d2e6393a131d88498307a3691
parenta883ad6478fb46f057190d308a25bf52d587c9f1
Btrfs: don't steal the reserved space from the global reserve if their space type is different

If the type of the space we need is different with the global reserve, we
can not steal the space from the global reserve, because we can not allocate
the space from the free space cache that the global reserve points to.

Cc: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/extent-tree.c