Whamcloud - gitweb
LU-2842 mdt: Do not lbug on invalid fid entry in name
authorOleg Drokin <oleg.drokin@intel.com>
Wed, 11 Sep 2013 18:26:43 +0000 (14:26 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 4 Nov 2013 02:57:48 +0000 (21:57 -0500)
commit864db64bf3a820954cb7a39153ade34e629a288d
treea3a989a8ce683f4bb3baaf679a1d34ef01ee6025
parent1343b5579c1dc6befe6db7bf1c89f6c009ee76e2
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