Re: [Announce] BKL shifting into drivers and filesystems - beware

From: Matthias Urlichs (smurf@noris.de)
Date: Fri Jul 14 2000 - 09:16:16 EST


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/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:19 EST