Skip to content

Commit

Permalink
bkl-removal viotape fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
  • Loading branch information
Stephen Rothwell authored and Jonathan Corbet committed Jun 20, 2008
1 parent 9514dff commit 5ca6a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/viotape.c
Original file line number Diff line number Diff line change
Expand Up @@ -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! */
Expand Down

0 comments on commit 5ca6a93

Please sign in to comment.