Btrfs: make sure to use the delalloc reserve when filling delalloc
authorJosef Bacik <josef@redhat.com>
Wed, 13 Apr 2011 16:02:53 +0000 (12:02 -0400)
committerJosef Bacik <josef@redhat.com>
Mon, 23 May 2011 17:00:56 +0000 (13:00 -0400)
commit74b2107543da4ed9607ec484f63c42362dc9fca6
treec4bdfa4b995ae4281dbdf9d1f489009941a51e5b
parent61c4f2c81c61f73549928dfd9f3e8f26aa36a8cf
Btrfs: make sure to use the delalloc reserve when filling delalloc

In the prealloc filling code and compressed code we don't set trans->block_rsv
to the delalloc block reserve properly, which is going to make us use metadata
from the wrong pool, this patch fixes that.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/inode.c