]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't warn if we get ENOSPC in btrfs_block_rsv_check
authorJosef Bacik <josef@redhat.com>
Wed, 12 Jan 2011 21:04:22 +0000 (21:04 +0000)
committerChris Mason <chris.mason@oracle.com>
Sun, 16 Jan 2011 16:30:20 +0000 (11:30 -0500)
commit7095c808e7e7a94226b72a2863e4c2f68285b913
tree29b2faa25ff19a3c374b6bb60eb4507657c6dfa9
parent4355922f6f06aba242d78af957c93906bb6336b2
Btrfs: don't warn if we get ENOSPC in btrfs_block_rsv_check

If we run low on space we could get a bunch of warnings out of
btrfs_block_rsv_check, but this is mostly just called via the transaction code
to see if we need to end the transaction, it expects to see failures, so let's
not WARN and freak everybody out for no reason.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c