From 22894c3a12df13868dca8da9c26ba7699f6b4ed0 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Wed, 12 Mar 2014 13:14:56 -0700 Subject: [PATCH] SimpleLock: Switch MutationRef& for MutationRef in get_xlock() Signed-off-by: Greg Farnum --- src/mds/SimpleLock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/SimpleLock.h b/src/mds/SimpleLock.h index eac05b1dd9128..cbaa9964e1be2 100644 --- a/src/mds/SimpleLock.h +++ b/src/mds/SimpleLock.h @@ -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 */); -- 2.39.5