diff --git a/[refs] b/[refs] index 469b6f98af2a..30c03f1df7c7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5b3fe63b19e00f3b2a14a09c979e84163029e390 +refs/heads/master: 4237e0d3de38da640d7c977d68f5f7f1d207a631 diff --git a/trunk/fs/proc/generic.c b/trunk/fs/proc/generic.c index 6a2fe5187b62..75cd8d709f7f 100644 --- a/trunk/fs/proc/generic.c +++ b/trunk/fs/proc/generic.c @@ -406,12 +406,12 @@ struct dentry *proc_lookup(struct inode * dir, struct dentry *dentry, struct nam spin_unlock(&proc_subdir_lock); error = -EINVAL; inode = proc_get_inode(dir->i_sb, ino, de); - spin_lock(&proc_subdir_lock); - break; + goto out_unlock; } } } spin_unlock(&proc_subdir_lock); +out_unlock: unlock_kernel(); if (inode) {