git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*: convert stream-like files from nonseekable_open -> stream_open
[sfrench/cifs-2.6.git]
/
drivers
/
watchdog
/
watchdog_dev.c
diff --git
a/drivers/watchdog/watchdog_dev.c
b/drivers/watchdog/watchdog_dev.c
index f6c24b22b37c06ab1139b375bcb44e78a1f55be5..252a7c7b65924687a21647b145d5cb2f0524bf90 100644
(file)
--- a/
drivers/watchdog/watchdog_dev.c
+++ b/
drivers/watchdog/watchdog_dev.c
@@
-825,7
+825,7
@@
static int watchdog_open(struct inode *inode, struct file *file)
kref_get(&wd_data->kref);
/* dev/watchdog is a virtual (and thus non-seekable) filesystem */
- return
nonseekable
_open(inode, file);
+ return
stream
_open(inode, file);
out_mod:
module_put(wd_data->wdd->ops->owner);