Add scope guard
Add scope guard

Summary: Small change: replace mutex_.Lock/mutex_.Unlock() with scope guard

Test Plan: make all check

Reviewers: igor, sdong

Reviewed By: sdong

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D21609

amyvmiwei/rocksdb,zhangpng/rocksdb,Vaisman/rocksdb,msb-at-yahoo/rocksdb,SunguckLee/RocksDB,Andymic/rocksdb,jalexanderqed/rocksdb,RyanTech/rocksdb,OverlordQ/rocksdb,wat-ze-hex/rocksdb,msb-at-yahoo/rocksdb,mbarbon/rocksdb,facebook/rocksdb,skunkwerks/rocksdb,makelivedotnet/rocksdb,rDSN-Projects/rocksdb.replicated,mbarbon/rocksdb,dkorolev/rocksdb,Vaisman/rocksdb,kaschaeffer/rocksdb,vmx/rocksdb,sorphi/rocksdb,fengshao0907/rocksdb,alihalabyah/rocksdb,anagav/rocksdb,dkorolev/rocksdb,SunguckLee/RocksDB,msb-at-yahoo/rocksdb,vmx/rocksdb,bbiao/rocksdb,alihalabyah/rocksdb,JackLian/rocksdb,skunkwerks/rocksdb,IMCG/RcoksDB,dkorolev/rocksdb,JackLian/rocksdb,fengshao0907/rocksdb,kaschaeffer/rocksdb,Andymic/rocksdb,wlqGit/rocksdb,wlqGit/rocksdb,zhangpng/rocksdb,RyanTech/rocksdb,vashstorm/rocksdb,ylong/rocksdb,jalexanderqed/rocksdb,facebook/rocksdb,lgscofield/rocksdb,Vaisman/rocksdb,alihalabyah/rocksdb,biddyweb/rocksdb,lgscofield/rocksdb,wenduo/rocksdb,wat-ze-hex/rocksdb,Andymic/rocksdb,tsheasha/rocksdb,skunkwerks/rocksdb,SunguckLee/RocksDB,vashstorm/rocksdb,dkorolev/rocksdb,mbarbon/rocksdb,Applied-Duality/rocksdb,norton/rocksdb,lgscofield/rocksdb,anagav/rocksdb,wenduo/rocksdb,JohnPJenkins/rocksdb,jalexanderqed/rocksdb,wlqGit/rocksdb,JohnPJenkins/rocksdb,mbarbon/rocksdb,wat-ze-hex/rocksdb,anagav/rocksdb,OverlordQ/rocksdb,msb-at-yahoo/rocksdb,jalexanderqed/rocksdb,wlqGit/rocksdb,tsheasha/rocksdb,flabby/rocksdb,Andymic/rocksdb,biddyweb/rocksdb,amyvmiwei/rocksdb,makelivedotnet/rocksdb,tizzybec/rocksdb,sorphi/rocksdb,Andymic/rocksdb,JohnPJenkins/rocksdb,NickCis/rocksdb,ryneli/rocksdb,dkorolev/rocksdb,caijieming-baidu/rocksdb,JoeWoo/rocksdb,tizzybec/rocksdb,ylong/rocksdb,caijieming-baidu/rocksdb,SunguckLee/RocksDB,virtdb/rocksdb,JohnPJenkins/rocksdb,anagav/rocksdb,tizzybec/rocksdb,wat-ze-hex/rocksdb,hobinyoon/rocksdb,amyvmiwei/rocksdb,skunkwerks/rocksdb,hobinyoon/rocksdb,lgscofield/rocksdb,ylong/rocksdb,norton/rocksdb,bbiao/rocksdb,sorphi/rocksdb,wenduo/rocksdb,JoeWoo/rocksdb,OverlordQ/rocksdb,norton/rocksdb,fengshao0907/rocksdb,zhangpng/rocksdb,tsheasha/rocksdb,geraldoandradee/rocksdb,rDSN-Projects/rocksdb.replicated,vmx/rocksdb,wlqGit/rocksdb,ryneli/rocksdb,rDSN-Projects/rocksdb.replicated,caijieming-baidu/rocksdb,flabby/rocksdb,JackLian/rocksdb,zhangpng/rocksdb,tsheasha/rocksdb,luckywhu/rocksdb,ylong/rocksdb,IMCG/RcoksDB,makelivedotnet/rocksdb,geraldoandradee/rocksdb,bbiao/rocksdb,tsheasha/rocksdb,SunguckLee/RocksDB,Applied-Duality/rocksdb,tschottdorf/rocksdb,RyanTech/rocksdb,alihalabyah/rocksdb,kaschaeffer/rocksdb,sorphi/rocksdb,makelivedotnet/rocksdb,ryneli/rocksdb,biddyweb/rocksdb,mbarbon/rocksdb,luckywhu/rocksdb,JoeWoo/rocksdb,tsheasha/rocksdb,geraldoandradee/rocksdb,facebook/rocksdb,norton/rocksdb,ylong/rocksdb,dkorolev/rocksdb,JoeWoo/rocksdb,siddhartharay007/rocksdb,wenduo/rocksdb,wat-ze-hex/rocksdb,tschottdorf/rocksdb,ylong/rocksdb,lgscofield/rocksdb,flabby/rocksdb,hobinyoon/rocksdb,jalexanderqed/rocksdb,JoeWoo/rocksdb,vmx/rocksdb,caijieming-baidu/rocksdb,sorphi/rocksdb,SunguckLee/RocksDB,temicai/rocksdb,temicai/rocksdb,wenduo/rocksdb,luckywhu/rocksdb,ryneli/rocksdb,vmx/rocksdb,makelivedotnet/rocksdb,temicai/rocksdb,luckywhu/rocksdb,wskplho/rocksdb,NickCis/rocksdb,wskplho/rocksdb,wat-ze-hex/rocksdb,rDSN-Projects/rocksdb.replicated,NickCis/rocksdb,rDSN-Projects/rocksdb.replicated,IMCG/RcoksDB,amyvmiwei/rocksdb,facebook/rocksdb,luckywhu/rocksdb,tizzybec/rocksdb,Vaisman/rocksdb,JohnPJenkins/rocksdb,temicai/rocksdb,vmx/rocksdb,biddyweb/rocksdb,virtdb/rocksdb,JoeWoo/rocksdb,tsheasha/rocksdb,hobinyoon/rocksdb,anagav/rocksdb,mbarbon/rocksdb,ylong/rocksdb,vashstorm/rocksdb,flabby/rocksdb,OverlordQ/rocksdb,skunkwerks/rocksdb,vmx/rocksdb,skunkwerks/rocksdb,ryneli/rocksdb,norton/rocksdb,alihalabyah/rocksdb,IMCG/RcoksDB,makelivedotnet/rocksdb,flabby/rocksdb,Applied-Duality/rocksdb,IMCG/RcoksDB,vashstorm/rocksdb,mbarbon/rocksdb,NickCis/rocksdb,JohnPJenkins/rocksdb,amyvmiwei/rocksdb,hobinyoon/rocksdb,NickCis/rocksdb,virtdb/rocksdb,siddhartharay007/rocksdb,kaschaeffer/rocksdb,temicai/rocksdb,wlqGit/rocksdb,msb-at-yahoo/rocksdb,kaschaeffer/rocksdb,caijieming-baidu/rocksdb,wlqGit/rocksdb,NickCis/rocksdb,fengshao0907/rocksdb,tschottdorf/rocksdb,virtdb/rocksdb,rDSN-Projects/rocksdb.replicated,wskplho/rocksdb,tschottdorf/rocksdb,Applied-Duality/rocksdb,vashstorm/rocksdb,JackLian/rocksdb,siddhartharay007/rocksdb,siddhartharay007/rocksdb,wat-ze-hex/rocksdb,siddhartharay007/rocksdb,virtdb/rocksdb,wenduo/rocksdb,Applied-Duality/rocksdb,RyanTech/rocksdb,temicai/rocksdb,hobinyoon/rocksdb,fengshao0907/rocksdb,Vaisman/rocksdb,geraldoandradee/rocksdb,tschottdorf/rocksdb,caijieming-baidu/rocksdb,geraldoandradee/rocksdb,JackLian/rocksdb,Andymic/rocksdb,hobinyoon/rocksdb,flabby/rocksdb,bbiao/rocksdb,bbiao/rocksdb,virtdb/rocksdb,JackLian/rocksdb,bbiao/rocksdb,Andymic/rocksdb,sorphi/rocksdb,caijieming-baidu/rocksdb,makelivedotnet/rocksdb,norton/rocksdb,hobinyoon/rocksdb,facebook/rocksdb,norton/rocksdb,flabby/rocksdb,biddyweb/rocksdb,wenduo/rocksdb,tizzybec/rocksdb,kaschaeffer/rocksdb,tschottdorf/rocksdb,norton/rocksdb,Applied-Duality/rocksdb,dkorolev/rocksdb,alihalabyah/rocksdb,geraldoandradee/rocksdb,NickCis/rocksdb,tsheasha/rocksdb,Vaisman/rocksdb,anagav/rocksdb,vmx/rocksdb,wskplho/rocksdb,OverlordQ/rocksdb,facebook/rocksdb,luckywhu/rocksdb,RyanTech/rocksdb,facebook/rocksdb,msb-at-yahoo/rocksdb,vashstorm/rocksdb,wenduo/rocksdb,anagav/rocksdb,kaschaeffer/rocksdb,bbiao/rocksdb,OverlordQ/rocksdb,temicai/rocksdb,luckywhu/rocksdb,wskplho/rocksdb,bbiao/rocksdb,jalexanderqed/rocksdb,ryneli/rocksdb,sorphi/rocksdb,biddyweb/rocksdb,lgscofield/rocksdb,wskplho/rocksdb,wskplho/rocksdb,tizzybec/rocksdb,fengshao0907/rocksdb,zhangpng/rocksdb,amyvmiwei/rocksdb,IMCG/RcoksDB,tizzybec/rocksdb,RyanTech/rocksdb,jalexanderqed/rocksdb,IMCG/RcoksDB,rDSN-Projects/rocksdb.replicated,amyvmiwei/rocksdb,biddyweb/rocksdb,siddhartharay007/rocksdb,RyanTech/rocksdb,facebook/rocksdb,geraldoandradee/rocksdb,Vaisman/rocksdb,JohnPJenkins/rocksdb,ryneli/rocksdb,virtdb/rocksdb,zhangpng/rocksdb,OverlordQ/rocksdb,JackLian/rocksdb,vashstorm/rocksdb,Applied-Duality/rocksdb,SunguckLee/RocksDB,zhangpng/rocksdb,wat-ze-hex/rocksdb,skunkwerks/rocksdb,lgscofield/rocksdb,SunguckLee/RocksDB,fengshao0907/rocksdb,alihalabyah/rocksdb,Andymic/rocksdb,siddhartharay007/rocksdb,JoeWoo/rocksdb