]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: specify the quota type when finding the root quota realm
authorXiubo Li <xiubli@redhat.com>
Wed, 29 Jun 2022 09:11:36 +0000 (17:11 +0800)
committerXiubo Li <xiubli@redhat.com>
Fri, 1 Jul 2022 06:01:12 +0000 (14:01 +0800)
commitdde1a19d4105f1db41477752a71d8fe40c45cd7f
tree6e1977292e2bd59840723b38b613879ea5f18a75
parent3c96e54f486bd57b177436fc8bd1b0499ec537ce
client: specify the quota type when finding the root quota realm

Currently if only the quota.files is enabled for the statfs it will
use the wrong quota realm when finding the root quota realm. And vice
versa for the rename. This will specify the quota type for different
cases.

This is from Luis' kernel client's fix.

Fixes: https://tracker.ceph.com/issues/56414
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/client/Client.cc
src/client/Client.h
src/include/cephfs/types.h