summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-04-20 19:27:13 +0200
committerSage Weil <sage@newdream.net>2010-05-03 19:49:23 +0200
commit0b0c06d1476290cea248923c0ee7be9fd61cacea (patch)
tree557eacf9666cf0c2f989c2ff1955805d5557d07d /fs
parentceph: print more useful version info on module load (diff)
downloadlinux-0b0c06d1476290cea248923c0ee7be9fd61cacea.tar.xz
linux-0b0c06d1476290cea248923c0ee7be9fd61cacea.zip
ceph: fix leaked spinlock during mds reconnect
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs')
-rw-r--r--fs/ceph/caps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c
index aa2239fa9a3b..0c1681806867 100644
--- a/fs/ceph/caps.c
+++ b/fs/ceph/caps.c
@@ -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);
}
}