summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-04-20 10:27:13 -0700
committerSage Weil <sage@newdream.net>2010-05-03 10:49:23 -0700
commit0b0c06d1476290cea248923c0ee7be9fd61cacea (patch)
tree557eacf9666cf0c2f989c2ff1955805d5557d07d
parentc8f16584ac85444d51d8753c5df502350cfc7bb7 (diff)
downloadop-kernel-dev-0b0c06d1476290cea248923c0ee7be9fd61cacea.zip
op-kernel-dev-0b0c06d1476290cea248923c0ee7be9fd61cacea.tar.gz
ceph: fix leaked spinlock during mds reconnect
Signed-off-by: Sage Weil <sage@newdream.net>
-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 aa2239f..0c16818 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);
}
}
OpenPOWER on IntegriCloud