commit | 89b6c8d1e4a178a347b94f339b959f02710e7060 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Nov 10 12:10:03 2015 +0300 |
committer | Chris Mason <clm@fb.com> | Wed Nov 25 05:19:50 2015 -0800 |
tree | 77bcfcb9063302849cdb3d5be95718585e52ba1d | |
parent | 9dcbeed4d7e11e1dcf5e55475de3754f0855d1c2 [diff] |
Btrfs: tests: checking for NULL instead of IS_ERR() btrfs_alloc_dummy_root() return an error pointer on failure, it never returns NULL. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: Chris Mason <clm@fb.com>