]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit937a56ed6eed50592c07a361cbc74d0a70c8eac7
tree47cbcd85dc148eb4948ecb9728178df31ed7644c
parentb33a514a6d06e78194c4f1efaec11fde2de676c0
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