val = le64_to_cpu(*hash);
if (val < hash_adj)
val += MAX_HASH_SIZE;
- if (val != DIR_END_OFF)
+ if (val != MDS_DIR_END_OFF)
*hash = cpu_to_le64(val - hash_adj);
}
__u64 end;
end = le64_to_cpu(dp->ldp_hash_end);
- if (end == DIR_END_OFF) {
+ if (end == MDS_DIR_END_OFF) {
dp->ldp_hash_end = cpu_to_le32(seg_size *
(tgt0_idx + 1));
CDEBUG(D_INODE,