[Lguest] Question about DEFINE_MUTEX(lguest_lock) location

Atsushi SAKAI sakaia at jp.fujitsu.com
Fri Feb 20 15:02:19 EST 2009


Hi,

I have a question about "DEFINE_MUTEX(lguest_lock)" location.

Since lguest_lock defines on drivers/lguest/core.c
But it uses only on drivers/lguest/lguest_user.c

I think it should be move the definition location on lguest_lock,
from core.c to lguest_user.c.

Is there any reason DEFINE_MUTEX on core.c?

Thanks
Atsushi SAKAI








More information about the Lguest mailing list