tech-kern archive

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

Re: pseudoify cgd



Jan,

This is good.  It looks to me like cgd_detach() must run both the code
at the CGDIOCCLR case in cgdioctl(),

        case CGDIOCCLR:

                if (DK_BUSY(&cs->sc_dksc, pmask))
                        ret = EBUSY;
                else
                        ret = cgd_ioctl_clr(cs, l);
                break;

and the code in cgd_ioctl_clr(), or else a cgd instance will enter an
inconsistent state during system shutdown or drvctl -d.

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933


Home | Main Index | Thread Index | Old Index