Whamcloud - gitweb
LU-12615 mdt: check mdt_object 69/35869/2
authorHongchao Zhang <hongchao@whamcloud.com>
Sat, 13 Jul 2019 12:07:07 +0000 (08:07 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 12 Sep 2019 03:47:55 +0000 (03:47 +0000)
commit41e2bd9752851a7f3989c6edfe2134742d0ab59f
tree73b2dcf4c3af951b38f43397e559453405dc2748
parent0a47dcf9b048be724169894dcad7d9cde54362ec
LU-12615 mdt: check mdt_object

In processing RPC of getattr, getxattr, swap_layouts and sync,
the mdt_object should be checked to verify there is a valid
RMF_MDT_BODY field and OBD_MD_FLID is set properly.

Lustre-change: https://review.whamcloud.com/35764
Lustre-commit: e5e0bdb7a5c2d47ceaa2d1c190806d1be4999129

Change-Id: Ibb6aaa5ec5eb4b7284f4d5567a618a908d66920c
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reported-by: Alibaba Cloud <yunye.ry@alibaba-inc.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/35869
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/mdt/mdt_handler.c