Skip to content
Commit cf67582b authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: Fix duplicate ENOSPC checks in find_free_extent



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: default avatarChris Mason <chris.mason@oracle.com>
parent d3c2fdcf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment