commit | 0eb0e19cde6f01397ef8c0e094e44beb75c62a1e | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mfasheh@suse.com> | Tue Jul 12 16:44:10 2011 -0700 |
committer | Mark Fasheh <mfasheh@suse.com> | Thu Jul 14 14:14:45 2011 -0700 |
tree | 136b1858c5c1cf6f5eb8979d153f18248b1dbf4c | |
parent | 1e5063d093b5f024ae35bf835ca07463de2c1a1f [diff] |
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 <mfasheh@suse.com>