Whamcloud - gitweb
LU-5069 mds: check if the object exist before subdir check 40/10340/3
authorwang di <di.wang@intel.com>
Thu, 15 May 2014 13:15:56 +0000 (06:15 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 3 Jun 2014 22:32:41 +0000 (22:32 +0000)
commit9c255853668ed64dfdd8eec9b157f05c2b7832ed
tree1bf8bea8f53a05858f676b299b84a3f1fb0f676e
parentc8e9b796ff28a107c2f65e6857bf0a48266ed18f
LU-5069 mds: check if the object exist before subdir check

In mdt_rename_sanity, it should check whether the object exist
before mdo_is_subdir, otherwise the un-exist object will cause
LBUG in mdd_is_subdir.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I862392ca6a758bcf63406b2a8df9306d0c531aa5
Reviewed-on: http://review.whamcloud.com/10340
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_reint.c