Whamcloud - gitweb
LU-12615 mdt: check mdt_object 64/35764/2
authorHongchao Zhang <hongchao@whamcloud.com>
Sat, 13 Jul 2019 12:07:07 +0000 (08:07 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 21 Aug 2019 04:48:08 +0000 (04:48 +0000)
commite5e0bdb7a5c2d47ceaa2d1c190806d1be4999129
tree59dac202ac4ab3e1e0a27c1a898dc80fdf309176
parent7a9f7dec700c5c553396475daad272475f1b20be
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.

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