Btrfs: checking for NULL instead of IS_ERR
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 30 Jul 2012 08:15:43 +0000 (02:15 -0600)
committerChris Mason <chris.mason@oracle.com>
Tue, 28 Aug 2012 20:53:25 +0000 (16:53 -0400)
commit57a5a882031dba5cb7bc7ebc955b897498365fe2
treecae85b46388641513146af860f0140d26811ae57
parent5986802c2fcc754040bb7ed95f30bb16c4a843b7
Btrfs: checking for NULL instead of IS_ERR

add_qgroup_rb() never returns NULL, only error pointers.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
fs/btrfs/qgroup.c