Btrfs: don't try to commit in btrfs_block_rsv_check
authorJosef Bacik <josef@redhat.com>
Mon, 8 Aug 2011 17:33:21 +0000 (13:33 -0400)
committerJosef Bacik <josef@redhat.com>
Wed, 19 Oct 2011 19:12:35 +0000 (15:12 -0400)
commit13553e5221d6901a33b3f2157a389de085c161fe
tree47cbcd85dc148eb4948ecb9728178df31ed7644c
parentdabdb6408cb801644fa613c7432da012640b348c
Btrfs: don't try to commit in btrfs_block_rsv_check

We will try and reserve metadata bytes in btrfs_block_rsv_check and if we cannot
because we have a transaction open it will return EAGAIN, so we do not need to
try and commit the transaction again.

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/extent-tree.c
This page took 0.025065 seconds and 5 git commands to generate.