commit | 3092c34a4ae6129d97c550d5191cf3e31d14b3ff | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Mar 18 08:42:47 2016 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Mar 22 22:22:13 2016 -0400 |
tree | 84b500dde267d617e892cc3fa30dd0831779312f | |
parent | 2cc089e41d8e45752d85f42aefe66fabcd02bc57 [diff] |
staging: lustre: checking for NULL instead of IS_ERR lustre_cfg_new() returns error pointers on error, it never returns NULL. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>