提交 f29b889e 编写于 作者: A Arnd Bergmann 提交者: Jonathan Corbet

riowatchdog: BKL pushdown

Signed-off-by: NArnd Bergmann <arnd@arndb.de>
上级 db26e64d
......@@ -11,6 +11,7 @@
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/miscdevice.h>
#include <linux/smp_lock.h>
#include <asm/io.h>
#include <asm/ebus.h>
......@@ -116,6 +117,7 @@ static void riowd_starttimer(void)
static int riowd_open(struct inode *inode, struct file *filp)
{
cycle_kernel_lock();
nonseekable_open(inode, filp);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册