projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a82c47
)
ceph: add missing spin_unlock at ceph_mdsc_build_path()
author
Yehuda Sadeh
<yehuda@hq.newdream.net>
Tue, 13 Dec 2011 17:57:44 +0000
(09:57 -0800)
committer
Sage Weil
<sage@newdream.net>
Tue, 13 Dec 2011 19:59:53 +0000
(11:59 -0800)
one of the paths was missing spin_unlock
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
fs/ceph/mds_client.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/mds_client.c
b/fs/ceph/mds_client.c
index 34bc35084ae336ce18b51aca9bbe98162093ea17..6203d805eb45061d20b5d8e08222f97aae6cd0a6 100644
(file)
--- 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;