Btrfs: cleanup error handling in the truncate path
authorJosef Bacik <josef@redhat.com>
Mon, 31 Jan 2011 21:03:11 +0000 (16:03 -0500)
committerJosef Bacik <josef@redhat.com>
Thu, 17 Mar 2011 18:21:24 +0000 (14:21 -0400)
commit3893e33b0bebee2f67d96b6c15259dc884523c20
tree3c04879bcd5a269252615c56a765cede5ba1004e
parenta41ad394a03b802497958d7c98a9dcf607266645
Btrfs: cleanup error handling in the truncate path

Now that we can handle having errors in the truncate path lets make sure we
return errors instead of doing BUG_ON() and such.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/inode.c