From: Mark Fasheh Date: Tue, 12 Jul 2011 23:44:10 +0000 (-0700) Subject: btrfs: Don't BUG_ON alloc_path errors in btrfs_truncate_inode_items X-Git-Tag: v3.1-rc1~82^2~24^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0eb0e19cde6f01397ef8c0e094e44beb75c62a1e;p=pandora-kernel.git btrfs: Don't BUG_ON alloc_path errors in btrfs_truncate_inode_items 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 --- Reading git-diff-tree failed