btrfs: Don't BUG_ON alloc_path errors in btrfs_read_locked_inode
authorMark Fasheh <mfasheh@suse.com>
Tue, 12 Jul 2011 18:25:31 +0000 (11:25 -0700)
committerMark Fasheh <mfasheh@suse.com>
Thu, 14 Jul 2011 21:14:45 +0000 (14:14 -0700)
commit1748f843a0190ef4332d03a64263f383af72682b
treecf577aabbd13a639e2fdf4e6edb017f2276aa9c4
parent0eb0e19cde6f01397ef8c0e094e44beb75c62a1e
btrfs: Don't BUG_ON alloc_path errors in btrfs_read_locked_inode

btrfs_iget() also needed an update so that errors from btrfs_locked_inode()
are caught and bubbled back up.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/btrfs/inode.c