]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
java: remove unnecessary synchronization
authorNoah Watkins <noahwatkins@gmail.com>
Fri, 11 Jan 2013 23:23:57 +0000 (15:23 -0800)
committerNoah Watkins <noahwatkins@gmail.com>
Mon, 14 Jan 2013 21:11:09 +0000 (13:11 -0800)
The body of ceph_unmount is a call to a synchronized method.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/java/java/com/ceph/fs/CephMount.java

index 3f58a8da149d2a11afad29a18c8613017eb28f22..2e451d669d19cb9c9b2d6edc10487fb357b22972 100644 (file)
@@ -149,7 +149,7 @@ public class CephMount {
    * The mount can be reactivated using mount(). Configuration parameters
    * previously set are not reset.
    */
-  public synchronized void unmount() {
+  public void unmount() {
     native_ceph_unmount(instance_ptr);
   }