aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-07-06 17:11:07 -0400
committerArnd Bergmann <arnd@arndb.de>2010-09-16 04:33:15 -0400
commitaadbd4360911d7166dc04c5a4e5520b2c7914c73 (patch)
tree5a7bcebdff5d1bc440354343d8e0ffeca0a6d6d2 /drivers/char
parentcb3b9cf818070df1bf592b71275bcf99d8edefcb (diff)
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>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/viotape.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c
index 42f7fa442ff8..442c3f5b642a 100644
--- a/drivers/char/viotape.c
+++ b/drivers/char/viotape.c
@@ -804,6 +804,7 @@ const struct file_operations viotap_fops = {
804 .unlocked_ioctl = viotap_unlocked_ioctl, 804 .unlocked_ioctl = viotap_unlocked_ioctl,
805 .open = viotap_open, 805 .open = viotap_open,
806 .release = viotap_release, 806 .release = viotap_release,
807 .llseek = noop_llseek,
807}; 808};
808 809
809/* Handle interrupt events for tape */ 810/* Handle interrupt events for tape */