Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sound: rawmidi: fix checking of O_APPEND when opening MIDI device
Commit 9a1b64c 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>
- Loading branch information