]> 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)
commit990948dec00f69743279d245df1ba3bd1246985e
tree47cbcd85dc148eb4948ecb9728178df31ed7644c
parent3e7ed4c86e967c1c96bd6709d8353061b89cbb7c
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