Whamcloud - gitweb
LU-7077 target: avoid using possible error return NULL pointer 73/16473/5
authorBob Glossman <bob.glossman@intel.com>
Thu, 17 Sep 2015 19:05:02 +0000 (12:05 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 19 Nov 2015 22:03:31 +0000 (22:03 +0000)
commita7eface85ea2d2aa6198681264b082a0244855d4
treea82fa34b707504712151c3973f0ee4989905ea0a
parent187bdef6001f07f3217587f5146abe6edb20b08a
LU-7077 target: avoid using possible error return NULL pointer

previous fix http://review.whamcloud.com/15576 added a call
to cfs_hash_getref().  add LASSERT() to ensure the can
never happen here return value of NULL is in fact never seen.

Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Signed-off-by: Di Wang <di.wang@intel.com>
Change-Id: Ic6132b5450534db0bb9b89c3dd6f55517450c42a
Reviewed-on: http://review.whamcloud.com/16473
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/obdclass/genops.c