From: Yehuda Sadeh Date: Tue, 13 Dec 2011 17:57:44 +0000 (-0800) Subject: ceph: add missing spin_unlock at ceph_mdsc_build_path() X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~15975^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=9d5a09e659f8414dd3713e2acbfaf8a9e9794aa1;p=mirror_ubuntu-artful-kernel.git ceph: add missing spin_unlock at ceph_mdsc_build_path() one of the paths was missing spin_unlock Signed-off-by: Yehuda Sadeh --- 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;