Whamcloud - gitweb
LU-7059 mdt: reset rc=0 in mdt_lock_objects_in_linkea 31/16131/2
authorwang di <di.wang@intel.com>
Thu, 27 Aug 2015 17:28:19 +0000 (10:28 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 4 Sep 2015 05:01:37 +0000 (05:01 +0000)
commit0ab2b5f93442f6c4844fadcbca981646624f6474
treed625dccc0cf53cbd9f822cee5cb2ce3522d7215c
parentb8d51c44f20c2a3decd4230b7ec656727ea813a1
LU-7059 mdt: reset rc=0 in mdt_lock_objects_in_linkea

reset rc to 0 in mdt_lock_objects_in_linkea, otherwise
it might cause migration failure for mulitple link file.

Add sanity.sh 230e to verify the case.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I063a6e461e2fe427105e8063720f59df42a8eda3
Reviewed-on: http://review.whamcloud.com/16131
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/mdt/mdt_reint.c
lustre/tests/sanity.sh