btrfs: Don't BUG_ON alloc_path errors in btrfs_truncate_inode_items
authorMark Fasheh <mfasheh@suse.com>
Tue, 12 Jul 2011 23:44:10 +0000 (16:44 -0700)
committerMark Fasheh <mfasheh@suse.com>
Thu, 14 Jul 2011 21:14:45 +0000 (14:14 -0700)
I moved the path allocation up a few lines to the top of the function so
that we couldn't get into the state where we've dropped delayed items and
the extent cache but fail due to -ENOMEM.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>

No differences found