提交 996ff68d 编写于 作者: D Dan Carpenter 提交者: Jonathan Corbet

Add a missing unlock_kernel() in raw_open()

Cc: stable@kernel.org
Signed-off-by: NDan Carpenter <error27@gmail.com>
Signed-off-by: NJonathan Corbet <corbet@lwn.net>
上级 60aa4924
......@@ -90,6 +90,7 @@ static int raw_open(struct inode *inode, struct file *filp)
blkdev_put(bdev, filp->f_mode);
out:
mutex_unlock(&raw_mutex);
unlock_kernel();
return err;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册