the lock routines now take a enumerated type for read/write locks, and
authorAndrew Tridgell <tridge@samba.org>
Thu, 13 Jan 2000 12:08:53 +0000 (12:08 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 13 Jan 2000 12:08:53 +0000 (12:08 +0000)
commit1bbc1ce18b8ccb92b5a78ee648539a591a452118
treede7c0a140b9376fd2b32060e7d9ae370235dfd93
parent6927aa19052baba2dcfcdec7564dad1a17f4c562
the lock routines now take a enumerated type for read/write locks, and
we now don't pass the lock type at all for unlocks.

I was surprised to discover that NT totally ignores the lock type in
unlocks. It unlocks a matching write lock if there is one, otherwise
it removes the first matching read lock.
source/libsmb/clientgen.c