Skip to content
Commit 7041ee97 authored by Josef Bacik's avatar Josef Bacik
Browse files

Btrfs: fix leaked space in truncate



We were occasionaly leaking space when running xfstest 269.  This is because if
we failed to start the transaction in the truncate loop we'd just goto out, but
we need to break so that the inode is removed from the orphan list and the space
is properly freed.  Thanks,

Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
parent 660d3f6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment