summaryrefslogtreecommitdiffstats
path: root/src/mds/CInode.h
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2019-05-21 11:50:25 +0200
committerYan, Zheng <zyan@redhat.com>2019-05-21 12:11:45 +0200
commitdf79944a773ee0d77babe343b0b7107d58e5a1cd (patch)
treed33b2ccb16ba3769eb7603d352f591a9194f0637 /src/mds/CInode.h
parentMerge pull request #27996 from jan--f/package-prometheus-alerts-suse (diff)
downloadceph-df79944a773ee0d77babe343b0b7107d58e5a1cd.tar.xz
ceph-df79944a773ee0d77babe343b0b7107d58e5a1cd.zip
mds: cleanup unneeded client_snap_caps when splitting snap inode
Fixes: http://tracker.ceph.com/issues/39987 Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Diffstat (limited to 'src/mds/CInode.h')
-rw-r--r--src/mds/CInode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds/CInode.h b/src/mds/CInode.h
index fd092d68225..ae641073a9c 100644
--- a/src/mds/CInode.h
+++ b/src/mds/CInode.h
@@ -627,7 +627,7 @@ public:
void add_need_snapflush(CInode *snapin, snapid_t snapid, client_t client);
void remove_need_snapflush(CInode *snapin, snapid_t snapid, client_t client);
- bool split_need_snapflush(CInode *cowin, CInode *in);
+ pair<bool,bool> split_need_snapflush(CInode *cowin, CInode *in);
protected: