*/
#include <linux/types.h>
-#include <linux/jbd.h>
-/* ldiskfs_error() */
-#include <linux/ldiskfs_fs.h>
#include "osd_internal.h"
/*
} else {
struct ldiskfs_dx_hash_info hinfo;
- if (LVAR_HASH_TEA)
- hinfo.hash_version = LDISKFS_DX_HASH_TEA;
- else
- hinfo.hash_version = LDISKFS_DX_HASH_R5;
+ hinfo.hash_version = LDISKFS_DX_HASH_TEA;
hinfo.seed = 0;
ldiskfsfs_dirhash(name, namelen, &hinfo);
result = hinfo.hash;
{
struct lvar_leaf_entry *scan;
- printk(KERN_EMERG "used: %d\n", h_used(n_head(l)));
+ printk(CFS_KERN_EMERG "used: %d\n", h_used(n_head(l)));
for (scan = n_start(l); scan < n_end(l); scan = e_next(l, scan))
e_print(scan);
}
*(char *)e_rec(entry) = recsize;
}
-#include <linux/jbd.h>
-#include <linux/ldiskfs_fs.h>
-#include <linux/ldiskfs_jbd.h>
-
int iam_lvar_create(struct inode *obj,
int keysize, int ptrsize, int recsize, handle_t *handle)
{