From: Stephen Rothwell Date: Mon, 19 May 2008 06:06:52 +0000 (+1000) Subject: bkl-removal viotape fixup X-Git-Tag: v2.6.27-rc1~1103^2~84 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=5ca6a93d802a9d110127556e5d3ed032fd273e03;p=linux-2.6-omap-h63xx.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 af03d270930..a171d894b7e 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! */