Btrfs: Fix duplicate ENOSPC checks in find_free_extent
authorChris Mason <chris.mason@oracle.com>
Mon, 17 Sep 2007 15:00:51 +0000 (11:00 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:56 +0000 (11:03 -0400)
find_free_extent would fail to wrap around to the start of the drive because
it was doing the enospc case checking twice in some cases, causing it
to return -ENOSPC early.

Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found