2004-01-23 09:50:54

by Vincent Roqueta

[permalink] [raw]
Subject: I don(t understand....

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