Commit f0cd846e authored by Josef Bacik's avatar Josef Bacik
Browse files

Btrfs: only add orphan items when truncating



We don't need an orphan item when expanding files, we just need them for
truncating them, so only add the orphan item in btrfs_truncate instead of in
btrfs_setsize.  Thanks,

Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
parent ded5db9d
Supports Markdown
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