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
/
acquirewdt.c
diff --git
a/drivers/watchdog/acquirewdt.c
b/drivers/watchdog/acquirewdt.c
index d6210d946082f233f9f1b622e3095a8e15b7b685..957d1255d4ca3248e02f6f2387654297f629e646 100644
(file)
--- a/
drivers/watchdog/acquirewdt.c
+++ b/
drivers/watchdog/acquirewdt.c
@@
-200,7
+200,7
@@
static int acq_open(struct inode *inode, struct file *file)
/* Activate */
acq_keepalive();
- return
nonseekable
_open(inode, file);
+ return
stream
_open(inode, file);
}
static int acq_close(struct inode *inode, struct file *file)