提交 5ca6a93d 编写于 作者: S Stephen Rothwell 提交者: Jonathan Corbet

bkl-removal viotape fixup

Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NJonathan Corbet <corbet@lwn.net>
上级 9514dff9
......@@ -688,7 +688,7 @@ static int viotap_open(struct inode *inode, struct file *file)
if (op == NULL)
return -ENOMEM;
lock_kernel()
lock_kernel();
get_dev_info(file->f_path.dentry->d_inode, &devi);
/* Note: We currently only support one mode! */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册