viotape: use noop_llseek
Some applications try to seek on tape devices and fail if they return an error. Since we want to change the default llseek action to no_llseek, viotape needs to be changed to use noop_llseek explicitly. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
cb3b9cf818
commit
aadbd43609
1 changed files with 1 additions and 0 deletions
|
@ -804,6 +804,7 @@ const struct file_operations viotap_fops = {
|
||||||
.unlocked_ioctl = viotap_unlocked_ioctl,
|
.unlocked_ioctl = viotap_unlocked_ioctl,
|
||||||
.open = viotap_open,
|
.open = viotap_open,
|
||||||
.release = viotap_release,
|
.release = viotap_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Handle interrupt events for tape */
|
/* Handle interrupt events for tape */
|
||||||
|
|
Loading…
Reference in a new issue