This is Jeremy pretending to be Volker, 'cos the
authorVolker Lendecke <vlendec@samba.org>
Tue, 21 Aug 2001 01:25:45 +0000 (01:25 +0000)
committerVolker Lendecke <vlendec@samba.org>
Tue, 21 Aug 2001 01:25:45 +0000 (01:25 +0000)
commit1c94fa80646f9e31377fbb41332fe4780f550cab
tree6db0b8de9461f1b1c3fd4716bacadac4825be481
parent41066208ad8ca20d35a32bdf9ad934e11465c8f1
This is Jeremy pretending to be Volker, 'cos the
link from Seattle is having problems.
I've added 3 things here to work on the fcntl spin
problem.
1). Check *all* tdb return codes... :-).
2). If we're asking ourselves to break an oplock, and we can't
find a fsp pointer that matches the entry, this is a *logic bug*
and we should abort and panic so someone with gdb can pick up
the pieces.
3). After we've broken an oplock, ensure that the entry itself
has been removed, and if not remove it ourselves. This should
not be neccessary in a correctly working environmen,t, but will
provide an added layer of robustness in error situations.
4). I hate german keyboards :-) :-).
Jeremy.
source/locking/locking.c
source/smbd/open.c
source/smbd/oplock.c