struct lock_struct *lock_data; in struct byte_range_lock?

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri May 4 14:40:28 GMT 2007


Hi, Jeremy!

Is there any particular reason why "struct byte_range_lock"
contains a void * as "lock_data"? I could not find a place
where we store anything but "struct lock_struct"s in there.
Changing the record definitions gets rid of quite a few
casts.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070504/bfd9fd75/attachment.bin


More information about the samba-technical mailing list