Skip to content

Commit 8efe33f

Browse files
committed
MGM: Remove FsView write lock that does nothing
1 parent e658989 commit 8efe33f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

mgm/proc/admin/IoShapingCmd.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,6 @@ void
597597
IoCmd::ShapingSubcommand(const eos::console::IoProto_ShapingProto& shaping,
598598
eos::console::ReplyProto& reply)
599599
{
600-
eos::common::RWMutexWriteLock wr_lock(FsView::gFsView.ViewMutex);
601-
602600
switch (shaping.subcmd_case()) {
603601

604602
case eos::console::IoProto_ShapingProto::kList: {

0 commit comments

Comments
 (0)