]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ceph: fix leaked spinlock during mds reconnect
authorSage Weil <sage@newdream.net>
Tue, 20 Apr 2010 17:27:13 +0000 (10:27 -0700)
committerSage Weil <sage@newdream.net>
Mon, 3 May 2010 17:49:23 +0000 (10:49 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c

index aa2239fa9a3b7852feaba95830b0d78f6ec32701..0c1681806867e0d1510e40fff8a40e0418efa1e8 100644 (file)
@@ -1861,8 +1861,8 @@ static void kick_flushing_capsnaps(struct ceph_mds_client *mdsc,
                } else {
                        pr_err("%p auth cap %p not mds%d ???\n", inode,
                               cap, session->s_mds);
-                       spin_unlock(&inode->i_lock);
                }
+               spin_unlock(&inode->i_lock);
        }
 }