DragonFly bugs List (threaded) for 2006-11
DragonFly BSD
DragonFly bugs List (threaded) for 2006-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ATA identify retries exceeded - kernel panic


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Nov 2006 18:22:25 -0800 (PST)

:Isn't just checking whether the ctor pointer is NULL enough instead of 
:oc->simple_objsize?
:
:Cheers,
:-- 
:         Thomas E. Spanjaard
:         tgen@xxxxxxxxxxxxx

    It's never NULL.  The functions default out to dummy routines.  I
    suppose I could check if (oc->ctor == null_ctor) but I think its
    more generic to just have a separate supporting field with the 
    object size, since you need the object size anyway to do the bzero().

						-Matt



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]