Commit 5ca6a93d authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Jonathan Corbet

bkl-removal viotape fixup

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment