aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorClemens Ladisch <[email protected]>2009-10-21 07:10:16 +0000
committerTakashi Iwai <[email protected]>2009-11-10 15:21:30 +0000
commit16fb109644b5644e42ececeff644514de6f4bd03 (patch)
tree8f05be8292e049627ac800b4bff301e0a7e84f05 /fs/proc/array.c
parentsound: rawmidi: fix double init when opening MIDI device with O_APPEND (diff)
downloadkernel-16fb109644b5644e42ececeff644514de6f4bd03.tar.gz
kernel-16fb109644b5644e42ececeff644514de6f4bd03.zip
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 <[email protected]> Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions