diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2009-10-21 11:10:16 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-11-10 18:21:30 +0300 |
commit | 16fb109644b5644e42ececeff644514de6f4bd03 (patch) | |
tree | 8f05be8292e049627ac800b4bff301e0a7e84f05 /sound/core/jack.c | |
parent | 8579d2d7779d7ff41ea2a0183015e0e5038f1043 (diff) | |
download | linux-16fb109644b5644e42ececeff644514de6f4bd03.tar.xz |
sound: rawmidi: fix checking of O_APPEND when opening MIDI device
Commit 9a1b64caac82aa02cb74587ffc798e6f42c6170a in 2.6.30 dropped the
check that a substream must already have been opened with O_APPEND to be
able to open it a second time.
This would make it possible for a substream to be switched to append
mode, which would mean that non-atomic writes would fail unexpectedly.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/jack.c')
0 files changed, 0 insertions, 0 deletions