dect
/
linux-2.6
Archived
13
0
Fork 0

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:
Arnd Bergmann 2010-07-06 23:11:07 +02:00
parent cb3b9cf818
commit aadbd43609
1 changed files with 1 additions and 0 deletions

View File

@ -804,6 +804,7 @@ const struct file_operations viotap_fops = {
.unlocked_ioctl = viotap_unlocked_ioctl,
.open = viotap_open,
.release = viotap_release,
.llseek = noop_llseek,
};
/* Handle interrupt events for tape */