mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
xen/evtchn: the evtchn device is non-seekable
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
This commit is contained in:
parent
e53beacd23
commit
bc7fc5e33e
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user