]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
oss: fix O_NONBLOCK in dmasound_core
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 1 Nov 2008 18:19:49 +0000 (18:19 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 1 Nov 2008 19:40:38 +0000 (12:40 -0700)
We broke O_NONBLOCK handling in OSS dmasound_core in 2.3.11-pre3 - the
original code copied f_flags to open_mode and then checked for
O_NONBLOCK in there, but that got changed to copying f_mode and
O_NONBLOCK has not reached that field in any kernel version.

Since we do not care for any other bits, the fix is obvious...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found