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

View file

@ -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 */