]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: fix incorrectly showing the .snap size for stat 48413/head
authorXiubo Li <xiubli@redhat.com>
Wed, 31 Aug 2022 07:27:01 +0000 (15:27 +0800)
committerVenky Shankar <vshankar@redhat.com>
Mon, 10 Oct 2022 09:20:45 +0000 (14:50 +0530)
commitde769a30af47dff053b960c350fbf8081f43a1e5
treeac6f879b396b4d2453ce565ecf02896d69ab5707
parent0f2de3be4df8c0ace954bfa205aa002931c27b42
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>
(cherry picked from commit aa918d2e383eb9da2f6f837d731cc18bbad21e44)
src/client/Client.cc