Btrfs: fix error handling in delete_block_group_cache()
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Thu, 6 Sep 2012 09:08:59 +0000 (03:08 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:19:14 +0000 (15:19 -0400)
commitf54fb859da53f04a443c5e3f4cb9b936ed42d227
tree21fba36b78cf33ada070fdfea0529cac8b4b6194
parent903889f462409c816893abd02d88636f7b4a7774
Btrfs: fix error handling in delete_block_group_cache()

btrfs_iget() never return NULL.
So, NULL check is unnecessary.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
fs/btrfs/relocation.c