commit | 4b1e84ed8883d4f24f99417cb84165ff77a99d66 | [log] [tgz] |
---|---|---|
author | Peng Tao <bergwolf@gmail.com> | Mon Jul 15 22:27:07 2013 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 23 12:23:57 2013 -0700 |
tree | 744bed601c9b15aacaa74e7bd2566d4226680597 | |
parent | 4d2d6e29a8d56bd05cc7ea30ddfb4d3f75290cfe [diff] |
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 <tao.peng@emc.com> Signed-off-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>