--- fs/reiser4/plugin/item/ctail.c 2005-03-01 14:57:52.756014040 +0100 +++ fs/reiser4/plugin/item/ctail.c.new 2005-03-01 14:57:19.791025480 +0100 @@ -247,7 +247,7 @@ reiser4_internal int check_ctail (const coord_t * coord, const char **error) { - if (!ctail_ok) { + if (!ctail_ok(coord)) { if (error) *error = "bad cluster shift in ctail"; return 1; @@ -1666,7 +1666,7 @@ detach_convert_idata(pos->sq); break; case CRC_OVERWRITE_ITEM: - if (coord_is_unprepped_ctail) { + if (coord_is_unprepped_ctail(&pos->coord)) { /* convert unpprepped ctail to prepped one */ int shift; shift = inode_cluster_shift(item_convert_data(pos)->inode);