git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
drivers
/
isdn
/
hardware
/
eicon
/
divamnt.c
diff --git
a/drivers/isdn/hardware/eicon/divamnt.c
b/drivers/isdn/hardware/eicon/divamnt.c
index
6b22a8a
..
1d66481
100644
(file)
--- a/
drivers/isdn/hardware/eicon/divamnt.c
+++ b/
drivers/isdn/hardware/eicon/divamnt.c
@@
-151,6
+151,9
@@
maint_read(struct file *file, char __user *buf, size_t count, loff_t * off)
int str_length;
int *str_msg;
int str_length;
int *str_msg;
+ if (off != &file->f_pos)
+ return -ESPIPE;
+
if (!file->private_data) {
for (;;) {
while (
if (!file->private_data) {
for (;;) {
while (
@@
-303,7
+306,7
@@
static int maint_open(struct inode *ino, struct file *filep)
filep->private_data = NULL;
filep->private_data = NULL;
- return
nonseekable_open(ino, filep
);
+ return
(0
);
}
static int maint_close(struct inode *ino, struct file *filep)
}
static int maint_close(struct inode *ino, struct file *filep)