From: Peng Tao Date: Mon, 15 Jul 2013 14:27:07 +0000 (+0800) Subject: staging/lustre: don't assert ln_refcount in LNetGetId X-Git-Tag: v3.12-rc1~183^2~801 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b1e84ed8883d4f24f99417cb84165ff77a99d66;p=pandora-kernel.git staging/lustre: don't assert ln_refcount in LNetGetId If LNetNIInit() fails, we'll get zero ln_refcount. So fail LNetGetId() properly instead of asserting. We can get to it when socklnd fails to scan network interfaces, which is possible if Lustre is builtin. Signed-off-by: Peng Tao Signed-off-by: Andreas Dilger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed