]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
SimpleLock: Switch MutationRef& for MutationRef in get_xlock() 1610/head
authorGreg Farnum <greg@inktank.com>
Wed, 12 Mar 2014 20:14:56 +0000 (13:14 -0700)
committerGreg Farnum <greg@inktank.com>
Tue, 8 Apr 2014 00:00:19 +0000 (17:00 -0700)
Signed-off-by: Greg Farnum <greg@inktank.com>
src/mds/SimpleLock.h

index eac05b1dd9128864f5018f0fa04cd98df2da74f9..cbaa9964e1be2e57eb3a30eba189ec6fc143bee0 100644 (file)
@@ -478,7 +478,7 @@ public:
   }
 
   // xlock
-  void get_xlock(MutationRef& who, client_t client) { 
+  void get_xlock(MutationRef who, client_t client) { 
     assert(get_xlock_by() == 0);
     assert(state == LOCK_XLOCK || is_locallock() ||
           state == LOCK_LOCK /* if we are a slave */);