]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: fix incorrectly showing the .snap size for stat 47879/head
authorXiubo Li <xiubli@redhat.com>
Wed, 31 Aug 2022 07:27:01 +0000 (15:27 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 31 Aug 2022 07:29:59 +0000 (15:29 +0800)
commitaa918d2e383eb9da2f6f837d731cc18bbad21e44
tree716c9b193c5400f069e09c904206817f5508b633
parent91c57c3fb160db1c95d412b966d703ca08ee75ef
client: fix incorrectly showing the .snap size for stat

We should set the 'stat->size' to the real number of snapshots for
snapdirs.

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