From: Jeff Layton Date: Thu, 26 Sep 2019 15:24:37 +0000 (-0400) Subject: mds: remove MDRequestImpl::did_ino_allocation() X-Git-Tag: v15.1.0~128^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=543974c9be2f5271b1151310db3432c2ec006ef9;p=ceph.git mds: remove MDRequestImpl::did_ino_allocation() Nothing calls this. Signed-off-by: Jeff Layton --- diff --git a/src/mds/Mutation.cc b/src/mds/Mutation.cc index f0a5d877cfb..03555b4f098 100644 --- a/src/mds/Mutation.cc +++ b/src/mds/Mutation.cc @@ -321,11 +321,6 @@ bool MDRequestImpl::slave_rolling_back() return has_more() && more()->slave_rolling_back; } -bool MDRequestImpl::did_ino_allocation() const -{ - return alloc_ino || used_prealloc_ino || prealloc_inos.size(); -} - bool MDRequestImpl::freeze_auth_pin(CInode *inode) { ceph_assert(!more()->rename_inode || more()->rename_inode == inode); diff --git a/src/mds/Mutation.h b/src/mds/Mutation.h index 1d47f6a7b18..d79b430de66 100644 --- a/src/mds/Mutation.h +++ b/src/mds/Mutation.h @@ -369,7 +369,6 @@ struct MDRequestImpl : public MutationImpl { bool has_witnesses(); bool slave_did_prepare(); bool slave_rolling_back(); - bool did_ino_allocation() const; bool freeze_auth_pin(CInode *inode); void unfreeze_auth_pin(bool clear_inode=false); void set_remote_frozen_auth_pin(CInode *inode);