projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb3b9cf
)
viotape: use noop_llseek
author
Arnd Bergmann
<arnd@arndb.de>
Tue, 6 Jul 2010 21:11:07 +0000
(23:11 +0200)
committer
Arnd Bergmann
<arnd@arndb.de>
Thu, 16 Sep 2010 08:33:15 +0000
(10:33 +0200)
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>
drivers/char/viotape.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/viotape.c
b/drivers/char/viotape.c
index 42f7fa442ff80653c3cbabf9c80bd1b2e05de28d..442c3f5b642a979b870abdee760ed9f66b2bca13 100644
(file)
--- a/
drivers/char/viotape.c
+++ b/
drivers/char/viotape.c
@@
-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 */