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)
commit5881cfc924c8143dbc3e1f343516fc6527eb8311
tree9c892f0bbe0d393d2e6393a131d88498307a3691
parentb586b32374909863311b7c916c7c0c709141e35a
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