Skip to content

Commit

Permalink
rgw: OpsLogFile drops lock before flush()
Browse files Browse the repository at this point in the history
flush() acquires the same lock, so lockdep complains about recursive
locking here

Signed-off-by: Casey Bodley <[email protected]>
  • Loading branch information
cbodley committed Apr 25, 2022
1 parent 279d664 commit 5473ae7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rgw/rgw_log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ void* OpsLogFile::entry() {
}
cond.wait(lock);
}
lock.unlock();
flush();
return NULL;
}
Expand Down

0 comments on commit 5473ae7

Please sign in to comment.