projects
/
linux-2.6-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-2.6-block.git]
/
sound
/
core
/
rawmidi.c
diff --git
a/sound/core/rawmidi.c
b/sound/core/rawmidi.c
index c0690d1ecd55c1ce33c9bc155abd82d2d0ec9edd..4666bb366c0cc8e22eeab72c39608703e47a6f8f 100644
(file)
--- a/
sound/core/rawmidi.c
+++ b/
sound/core/rawmidi.c
@@
-382,7
+382,7
@@
static int snd_rawmidi_open(struct inode *inode, struct file *file)
if ((file->f_flags & O_APPEND) && !(file->f_flags & O_NONBLOCK))
return -EINVAL; /* invalid combination */
- err =
nonseekable
_open(inode, file);
+ err =
stream
_open(inode, file);
if (err < 0)
return err;