Exemple #1
0
static int __init init_hfs_fs(void)
{
	int err = init_inodecache();
	if (err)
		goto out1;
        hfs_cat_init();
	err = register_filesystem(&hfs_fs);
	if (err)
		goto out;
	return 0;
out:
	hfs_cat_free();
	destroy_inodecache();
out1:
	return err;
}
Exemple #2
0
static int __init init_hfs_fs(void)
{
        hfs_cat_init();
	return register_filesystem(&hfs_fs);
}