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
/
hwmon
/
fschmd.c
diff --git
a/drivers/hwmon/fschmd.c
b/drivers/hwmon/fschmd.c
index 042a166e1858a5d6e88b3873e3c8f955154d8707..8fb54079fac813b254ff4e87d9f4a098e70e211f 100644
(file)
--- a/
drivers/hwmon/fschmd.c
+++ b/
drivers/hwmon/fschmd.c
@@
-837,7
+837,7
@@
static int watchdog_open(struct inode *inode, struct file *filp)
watchdog_trigger(data);
filp->private_data = data;
watchdog_trigger(data);
filp->private_data = data;
- return
nonseekable
_open(inode, filp);
+ return
stream
_open(inode, filp);
}
static int watchdog_release(struct inode *inode, struct file *filp)
}
static int watchdog_release(struct inode *inode, struct file *filp)