提交 f39edadd 编写于 作者: L Linus Torvalds
...@@ -158,10 +158,11 @@ static ssize_t rng_dev_read(struct file *filp, char __user *buf, ...@@ -158,10 +158,11 @@ static ssize_t rng_dev_read(struct file *filp, char __user *buf,
goto out; goto out;
} }
} }
out_unlock:
mutex_unlock(&rng_mutex);
out: out:
return ret ? : err; return ret ? : err;
out_unlock:
mutex_unlock(&rng_mutex);
goto out;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册