Whamcloud - gitweb
LU-5865 lfsck: avoid NULL pointer 97/12597/2
authorFan Yong <fan.yong@intel.com>
Thu, 4 Sep 2014 01:37:08 +0000 (09:37 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 11 Nov 2014 17:22:07 +0000 (17:22 +0000)
commiteb8452240bce761062d49ff7cbd6398a239d431c
tree4303adf34d19ebdb8ac5ced46609cc97038ea794
parent2ec741f46ac31cb566ea17d8ffda122398896102
LU-5865 lfsck: avoid NULL pointer

NOT pass "NULL" as the parameter of @lmv for lfsck_record_lmv(),
then the subsequent handling inside lfsck_record_lmv() needs NOT
to worry about the case of "lmv == NULL".

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I5f308818edd5ded2c4ccc7d59fb0908791b8aae3
Reviewed-on: http://review.whamcloud.com/12597
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lfsck/lfsck_striped_dir.c