]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: fix state method whitespace
authorSage Weil <sage@inktank.com>
Fri, 9 May 2014 16:12:42 +0000 (09:12 -0700)
committerSage Weil <sage@inktank.com>
Fri, 9 May 2014 16:12:42 +0000 (09:12 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/OSD.h

index ec86ae3018f786e31675203346e2a6a4de22aff0..c27a730e9b32dfa5bce7feb3045b2bab033f0d65 100644 (file)
@@ -1055,8 +1055,14 @@ private:
   int state;
 
 public:
-  int get_state() { Spinlock::Locker l(state_lock); return state; }
-  void set_state(int s) { Spinlock::Locker l(state_lock); state = s; }
+  int get_state() {
+    Spinlock::Locker l(state_lock);
+    return state;
+  }
+  void set_state(int s) {
+    Spinlock::Locker l(state_lock);
+    state = s;
+  }
   bool is_initializing() {
     Spinlock::Locker l(state_lock);
     return state == STATE_INITIALIZING;