From: Stephen Rothwell Date: Mon, 19 May 2008 06:06:52 +0000 (+1000) Subject: bkl-removal viotape fixup X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5ca6a93d802a9d110127556e5d3ed032fd273e03;p=linux-beck.git bkl-removal viotape fixup Signed-off-by: Stephen Rothwell Signed-off-by: Jonathan Corbet --- diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c index af03d2709300..a171d894b7e7 100644 --- a/drivers/char/viotape.c +++ b/drivers/char/viotape.c @@ -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! */