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
/
intel_scu_watchdog.c
diff --git
a/drivers/watchdog/intel_scu_watchdog.c
b/drivers/watchdog/intel_scu_watchdog.c
index 0caab6241eb77a84bd2911dbaa011be68498fd85..3181a72c7ddf3f736a05ae0fb0507f7a7bb1b7f9 100644
(file)
--- a/
drivers/watchdog/intel_scu_watchdog.c
+++ b/
drivers/watchdog/intel_scu_watchdog.c
@@
-304,7
+304,7
@@
static int intel_scu_open(struct inode *inode, struct file *file)
if (watchdog_device.driver_closed)
return -EPERM;
- return
nonseekable
_open(inode, file);
+ return
stream
_open(inode, file);
}
static int intel_scu_release(struct inode *inode, struct file *file)