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]
/
net
/
rfkill
/
core.c
diff --git
a/net/rfkill/core.c
b/net/rfkill/core.c
index abca57040f37c07a842a3888e6cab4f991fd3f47..742e186bfadbf5257af922e1e1c460154153e123 100644
(file)
--- a/
net/rfkill/core.c
+++ b/
net/rfkill/core.c
@@
-1143,7
+1143,7
@@
static int rfkill_fop_open(struct inode *inode, struct file *file)
file->private_data = data;
- return
nonseekable
_open(inode, file);
+ return
stream
_open(inode, file);
free:
mutex_unlock(&data->mtx);