Whamcloud - gitweb
LU-2842 mdt: Do not lbug on invalid fid entry in name 17/7617/3
authorOleg Drokin <oleg.drokin@intel.com>
Wed, 11 Sep 2013 18:26:43 +0000 (14:26 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 28 Oct 2013 15:42:21 +0000 (15:42 +0000)
commit226f586c438291f8723decc61469b2812760263d
treed15257037c3a8e267af928c4074d3ce82621759a
parent37fac6f19e2710a8d89bd3b087227bf7506855d6
LU-2842 mdt: Do not lbug on invalid fid entry in name

Instead of crashing MDS when the name exists but has invalid fid,
we should just return error and let lfsck deal with it later.

Change-Id: Iea19dac75e9dc75c43a18efa757fc1c5e4d1743e
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/7617
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
lustre/mdt/mdt_open.c