提交 bc7fc5e3 编写于 作者: J Jeremy Fitzhardinge

xen/evtchn: the evtchn device is non-seekable

Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
上级 e53beacd
......@@ -431,7 +431,7 @@ static int evtchn_open(struct inode *inode, struct file *filp)
filp->private_data = u;
return 0;
return nonseekable_open(inode, filp);;
}
static int evtchn_release(struct inode *inode, struct file *filp)
......@@ -467,7 +467,7 @@ static const struct file_operations evtchn_fops = {
.fasync = evtchn_fasync,
.open = evtchn_open,
.release = evtchn_release,
.llseek = noop_llseek,
.llseek = no_llseek,
};
static struct miscdevice evtchn_miscdev = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册