]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: always set the caller_uid/gid to -1
authorXiubo Li <xiubli@redhat.com>
Fri, 9 Sep 2022 04:17:06 +0000 (12:17 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 27 Mar 2024 00:42:41 +0000 (08:42 +0800)
commit928bb69f3943c68f2c53bcd97a6625bfd4f7072a
treedab63b5d5e1c7c761dd6150e9a3f5a07ed69a27b
parentbef2e7a109bed31631211043b1fae4cfb8243d3a
client: always set the caller_uid/gid to -1

Since the setattr will check the cephx mds auth access before
buffering the changes, so it makes no sense any more to let the
cap update to check the access in MDS again.

Fixes: https://tracker.ceph.com/issues/57154
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit f474203aee2ff183d6812a62f43d85b3f25eae0d)

Conflicts:
src/client/Client.cc: missed dependency commit a8d0158d0df
("Client/Inode: wait_for_caps fixups")
src/client/Client.cc
src/client/Inode.h