projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7c6bfb
)
misdn: use nonseekable_open()
author
Andrew Morton
<akpm@linux-foundation.org>
Tue, 14 Oct 2008 01:42:07 +0000
(18:42 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 14 Oct 2008 01:42:07 +0000
(18:42 -0700)
The driver just sets ->llseek to NULL. It should also clear FMODE_LSEEK to
tell the VFS that seeks are not supported.
Pointed out by Christoph Hellwig.
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/timerdev.c
patch
|
blob
|
history
diff --git
a/drivers/isdn/mISDN/timerdev.c
b/drivers/isdn/mISDN/timerdev.c
index
e746292
..
875fabe
100644
(file)
--- a/
drivers/isdn/mISDN/timerdev.c
+++ b/
drivers/isdn/mISDN/timerdev.c
@@
-61,7
+61,7
@@
mISDN_open(struct inode *ino, struct file *filep)
init_waitqueue_head(&dev->wait);
filep->private_data = dev;
__module_get(THIS_MODULE);
- return
0
;
+ return
nonseekable_open(ino, filep)
;
}
static int