lkml.org 
[lkml]   [2000]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [Announce] BKL shifting into drivers and filesystems - beware
Hi,

Rui Sousa:
> The changes you made to some of the sound drivers seem to imply
> it's possible to enter release()/mmap() before open() returns, is
> this right?
>
No. Your code doesn't have a file descriptor before open() returns.
Therefore it can't do anything with the file.

Liekwise, release() is called when there's no other reference to
the file descriptor. This is protected by the lock in the processes'
file struct.

--
Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661
The quote was selected randomly. Really. | http://smurf.noris.de/
--
Some do, some don't.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.188 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site