Whamcloud - gitweb
LU-14504 lod: lod_xattr_del() check obj existence
authorLai Siyao <lai.siyao@whamcloud.com>
Wed, 10 Mar 2021 10:13:18 +0000 (18:13 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 19 Jul 2021 18:05:19 +0000 (18:05 +0000)
commitd76b510777f2f7d8d34898c22249aed4013f7d7f
treeb5fb78f6170010f72358f68ef559982f21fc3ba5
parentaf1f1aaca3c9a2ab857e238f380d9bf4b962a073
LU-14504 lod: lod_xattr_del() check obj existence

lod_declare_xattr_del() skips object if it doesn't exist, but
lod_xattr_del() doesn't, which may trigger assertion in
osp_xattr_del() if a stripe doesn't exist.

Lustre-change: https://review.whamcloud.com/41976
Lustre-commit: c8d81a1d1d82fede40ae95924aca12bc5e55426d

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: I00723d3b0243efd1357107c59dd86967e076e2af
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-on: https://review.whamcloud.com/42047
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/lod/lod_object.c