kernels/linux-2.4.0/fs/jffs/intrep.c
/* Free a file and its name.  */
Free a file and its name.
Free a file and its name .
int
jffs_free_file(struct jffs_file *f)
{
	D3(printk("jffs_free_file: f #%u, \"%s\"\n",
		  f->ino, (f->name ? f->name : "")));
	if (f->name) {
		kfree(f->name);
		DJM(no_name--);
	}
	kfree(f);
	DJM(no_jffs_file--);
	return 0;
}
int jffs_free_file ( struct jffs_file * f ) { D3 ( printk ( " \" \" \n " , f -> ino , ( f -> name ? f -> name : " " ) ) ) ; if ( f -> name ) { kfree ( f -> name ) ; DJM ( no_name -- ) ; } kfree ( f ) ; DJM ( no_jffs_file -- ) ; return 0 ; }
Free a file and its name.
Free a file and its name .