diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-11-10 12:10:03 +0300 |
|---|---|---|
| committer | Chris Mason <clm@fb.com> | 2015-11-25 05:19:50 -0800 |
| commit | 89b6c8d1e4a178a347b94f339b959f02710e7060 (patch) | |
| tree | 77bcfcb9063302849cdb3d5be95718585e52ba1d /scripts/gdb/linux/utils.py | |
| 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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
