memset(fsg, 0, sizeof *fsg);
static int __init fsg_alloc(void){	struct fsg_dev		*fsg;	fsg = kmalloc(sizeof *fsg, GFP_KERNEL);	if (!fsg)		return -ENOMEM;	memset(fsg, 0, sizeof *fsg);	spin_lock_init(&fsg->lock);	init_rwsem(&fsg->filesem);	init_waitqueue_head(&fsg->thread_wqh);	init_completion(&fsg->thread_notifier);	the_fsg = fsg;	return 0;}