diff options
author | Yan, Zheng <zyan@redhat.com> | 2019-05-21 11:50:25 +0200 |
---|---|---|
committer | Yan, Zheng <zyan@redhat.com> | 2019-05-21 12:11:45 +0200 |
commit | df79944a773ee0d77babe343b0b7107d58e5a1cd (patch) | |
tree | d33b2ccb16ba3769eb7603d352f591a9194f0637 /src/mds/CInode.h | |
parent | Merge pull request #27996 from jan--f/package-prometheus-alerts-suse (diff) | |
download | ceph-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.h | 2 |
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: |