struct lock_struct *lock_data; in struct byte_range_lock?

Jeremy Allison jra at samba.org
Fri May 4 18:23:12 GMT 2007


On Fri, May 04, 2007 at 04:40:28PM +0200, Volker Lendecke wrote:
> 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.

Sounds fine to me !

Jeremy.


More information about the samba-technical mailing list