kernels/linux-2.4.0/fs/jffs/intrep.c
/* Insert a file into the hash table.  */
Insert a file into the hash table.
Insert a file into the hash table .
int
jffs_insert_file_into_hash(struct jffs_file *f)
{
	int i = f->ino % f->c->hash_len;
	D3(printk("jffs_insert_file_into_hash(): f->ino: %u\n", f->ino));
	list_add(&f->hash, &f->c->hash[i]);
	return 0;
}
int jffs_insert_file_into_hash ( struct jffs_file * f ) { int i = f -> ino % f -> c -> hash_len ; D3 ( printk ( " \n " , f -> ino ) ) ; list_add ( & f -> hash , & f -> c -> hash [ i ] ) ; return 0 ; }
Insert a file into the hash table.
Insert a file into the hash table .