/* Relocation based on oid, hashing them into a given bitmap block files. Formatted nodes are unaffected, a separate policy covers them  */
static void oid_groups(reiserfs_blocknr_hint_t *hint)
/* Relocation based on oid, hashing them into a given bitmap block files. Formatted nodes are unaffected, a separate policy covers them  */
static void oid_groups(reiserfs_blocknr_hint_t *hint)
{
	if (hint->inode) {
		unsigned long hash;
		__u32 oid;
		__u32 dirid;
		int bm;
		dirid = le32_to_cpu(INODE_PKEY(hint->inode)->k_dir_id);
		if (dirid <= 2)
			hash = (hint->inode->i_sb->s_blocksize << 3);
		else {
			oid = le32_to_cpu(INODE_PKEY(hint->inode)->k_objectid);
			bm = bmap_hash_id(hint->inode->i_sb, oid);
			hash = bm * (hint->inode->i_sb->s_blocksize << 3);
		}
		hint->search_start = hash;
	}
}