Btrfs: only add orphan items when truncating
authorJosef Bacik <josef@redhat.com>
Fri, 4 Mar 2011 19:37:08 +0000 (14:37 -0500)
committerJosef Bacik <josef@redhat.com>
Thu, 17 Mar 2011 18:21:30 +0000 (14:21 -0400)
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: Josef Bacik <josef@redhat.com>

No differences found