Whamcloud - gitweb
LU-8316 tgt: return -ENOMEM while kmalloc failed 18/20918/2
authorYang Sheng <yang.sheng@intel.com>
Wed, 22 Jun 2016 13:17:46 +0000 (21:17 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 5 Jul 2016 23:52:04 +0000 (23:52 +0000)
commit36451f3be0bbc7858d848b5b6ee6e9133de9115d
tree10e7df7d22dda3bdf5fdb2ef315aa700f363f3c3
parent0d7022d7eee3f36dfda0e0e58a531954de3ba335
LU-8316 tgt: return -ENOMEM while kmalloc failed

Return valid value in tgt_init().

Signed-off-by: Yang Sheng <yang.sheng@intel.com>
Change-Id: Iaaa3697aca42d84011886a360fb31576ed4b53df
Reviewed-on: http://review.whamcloud.com/20918
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/target/tgt_main.c