ceph: fail the request if the peer MDS doesn't support getvxattr op
authorXiubo Li <xiubli@redhat.com>
Wed, 27 Jul 2022 04:29:10 +0000 (12:29 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 4 Oct 2022 17:18:08 +0000 (19:18 +0200)
commit6eb06c46214d33c71ae86d60b3fc9cb17c20beca
treef39b5b53c2a92f0b63b65345eb9ffdf54f00a2be
parentf791357330b0043ec953ce122ab7519af4b9d24a
ceph: fail the request if the peer MDS doesn't support getvxattr op

Just fail the request instead sending the request out, or the peer
MDS will crash.

Link: https://tracker.ceph.com/issues/56529
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/inode.c
fs/ceph/mds_client.c
fs/ceph/mds_client.h