projects
/
linux-block.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
[linux-block.git]
/
drivers
/
watchdog
/
machzwd.c
diff --git
a/drivers/watchdog/machzwd.c
b/drivers/watchdog/machzwd.c
index 88d823d87a4b3895e4a139f9579ae6b08359f8dd..53759415cf06e9890315e0a0a63245a94e9ff93f 100644
(file)
--- a/
drivers/watchdog/machzwd.c
+++ b/
drivers/watchdog/machzwd.c
@@
-333,7
+333,7
@@
static int zf_open(struct inode *inode, struct file *file)
if (nowayout)
__module_get(THIS_MODULE);
zf_timer_on();
- return
nonseekable
_open(inode, file);
+ return
stream
_open(inode, file);
}
static int zf_close(struct inode *inode, struct file *file)