bkl-removal viotape fixup
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
committed by
Jonathan Corbet
parent
9514dff918
commit
5ca6a93d80
@@ -688,7 +688,7 @@ static int viotap_open(struct inode *inode, struct file *file)
|
|||||||
if (op == NULL)
|
if (op == NULL)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
lock_kernel()
|
lock_kernel();
|
||||||
get_dev_info(file->f_path.dentry->d_inode, &devi);
|
get_dev_info(file->f_path.dentry->d_inode, &devi);
|
||||||
|
|
||||||
/* Note: We currently only support one mode! */
|
/* Note: We currently only support one mode! */
|
||||||
|
Reference in New Issue
Block a user