Skip to content

Commit

Permalink
OSD: drop unsed parameter passed to check_osdmap_features
Browse files Browse the repository at this point in the history
Signed-off-by: Leo Zhang <[email protected]>
  • Loading branch information
zealoussnow committed Oct 24, 2017
1 parent 6a35e37 commit c3f090c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/osd/OSD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2554,7 +2554,7 @@ int OSD::init()
goto out;
}
osdmap = get_map(superblock.current_epoch);
check_osdmap_features(store);
check_osdmap_features();

create_recoverystate_perf();

Expand Down Expand Up @@ -7621,7 +7621,7 @@ void OSD::_committed_osd_maps(epoch_t first, epoch_t last, MOSDMap *m)

map_lock.put_write();

check_osdmap_features(store);
check_osdmap_features();

// yay!
consume_map();
Expand Down Expand Up @@ -7668,7 +7668,7 @@ void OSD::_committed_osd_maps(epoch_t first, epoch_t last, MOSDMap *m)

}

void OSD::check_osdmap_features(ObjectStore *fs)
void OSD::check_osdmap_features()
{
// adjust required feature bits?

Expand Down
2 changes: 1 addition & 1 deletion src/osd/OSD.h
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ class OSD : public Dispatcher,
void _dispatch(Message *m);
void dispatch_op(OpRequestRef op);

void check_osdmap_features(ObjectStore *store);
void check_osdmap_features();

// asok
friend class OSDSocketHook;
Expand Down

0 comments on commit c3f090c

Please sign in to comment.