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>
Thu, 31 Oct 2013 01:30:32 +0000 (21:30 -0400)
commit8179798aeb5050441907b5998d52a60034d7cec5
treecebaa395c30fe6a4060da49f430826bb387db9d1
parent6371521fa05a719f3729d04833d7a253ad0fc185
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