Skip to content

Commit

Permalink
osd/PrimaryLogPG: drop unused parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Liao Weizhong <liaoweizhong@unionpay.com>
  • Loading branch information
wzliao committed Oct 27, 2017
1 parent a8b000f commit 35c5176
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/osd/PrimaryLogPG.cc
Expand Up @@ -14125,7 +14125,6 @@ boost::statechart::result PrimaryLogPG::AwaitAsyncWork::react(const DoSnapWork&)

void PrimaryLogPG::setattr_maybe_cache(
ObjectContextRef obc,
OpContext *op,
PGTransaction *t,
const string &key,
bufferlist &val)
Expand All @@ -14135,7 +14134,6 @@ void PrimaryLogPG::setattr_maybe_cache(

void PrimaryLogPG::setattrs_maybe_cache(
ObjectContextRef obc,
OpContext *op,
PGTransaction *t,
map<string, bufferlist> &attrs)
{
Expand All @@ -14144,7 +14142,6 @@ void PrimaryLogPG::setattrs_maybe_cache(

void PrimaryLogPG::rmattr_maybe_cache(
ObjectContextRef obc,
OpContext *op,
PGTransaction *t,
const string &key)
{
Expand Down
3 changes: 0 additions & 3 deletions src/osd/PrimaryLogPG.h
Expand Up @@ -1796,18 +1796,15 @@ class PrimaryLogPG : public PG, public PGBackend::Listener {
// attr cache handling
void setattr_maybe_cache(
ObjectContextRef obc,
OpContext *op,
PGTransaction *t,
const string &key,
bufferlist &val);
void setattrs_maybe_cache(
ObjectContextRef obc,
OpContext *op,
PGTransaction *t,
map<string, bufferlist> &attrs);
void rmattr_maybe_cache(
ObjectContextRef obc,
OpContext *op,
PGTransaction *t,
const string &key);
int getattr_maybe_cache(
Expand Down

0 comments on commit 35c5176

Please sign in to comment.