summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@hq.newdream.net>2011-12-13 21:57:44 +0400
committerSage Weil <sage@newdream.net>2011-12-13 23:59:53 +0400
commit9d5a09e659f8414dd3713e2acbfaf8a9e9794aa1 (patch)
treeabba92c0a15f98cd4386cd86f081d1e2c89045ac /fs
parent6a82c47aa84ab22cb5969a44105cca5358879d21 (diff)
downloadlinux-9d5a09e659f8414dd3713e2acbfaf8a9e9794aa1.tar.xz
ceph: add missing spin_unlock at ceph_mdsc_build_path()
one of the paths was missing spin_unlock Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Diffstat (limited to 'fs')
-rw-r--r--fs/ceph/mds_client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
index 34bc35084ae3..6203d805eb45 100644
--- a/fs/ceph/mds_client.c
+++ b/fs/ceph/mds_client.c
@@ -1495,6 +1495,7 @@ retry:
pos, temp);
} else if (stop_on_nosnap && inode &&
ceph_snap(inode) == CEPH_NOSNAP) {
+ spin_unlock(&temp->d_lock);
break;
} else {
pos -= temp->d_name.len;