Skip to contentSkip to conversation

I don(t understand....

DISCUSSION Vincent ROQUETA 1 participant 1 message Jan 23, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

in file nfs4state :

static struct nfs4_state_owner *
nfs4_alloc_state_owner(void)

{
        struct nfs4_state_owner *sp;

        sp = kmalloc(sizeof(*sp),GFP_KERNEL);
        if (!sp)
                return NULL;



        init_MUTEX(&sp->so_sema); -> Ok


        sp->so_seqid = 0;                 /* arbitrary */
        INIT_LIST_HEAD(&sp->so_states);
        atomic_set(&sp->so_count, 1);
        return sp;
}

Well... I'm looking where the mutex is destroyed, in the nfs4_free_client ??

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs