-void range_le_to_cpu(struct lu_range *dst, const struct lu_range *src)
-{
- /* check that all fields are converted */
- CLASSERT(sizeof(*src) ==
- sizeof(src->lr_start) +
- sizeof(src->lr_end) +
- sizeof(src->lr_padding));
- dst->lr_start = le64_to_cpu(src->lr_start);
- dst->lr_end = le64_to_cpu(src->lr_end);
-}
-EXPORT_SYMBOL(range_le_to_cpu);
-
-#ifdef __KERNEL__
-void range_cpu_to_be(struct lu_range *dst, const struct lu_range *src)
-{
- /* check that all fields are converted */
- CLASSERT(sizeof(*src) ==
- sizeof(src->lr_start) +
- sizeof(src->lr_end) +
- sizeof(src->lr_padding));
- dst->lr_start = cpu_to_be64(src->lr_start);
- dst->lr_end = cpu_to_be64(src->lr_end);
-}
-EXPORT_SYMBOL(range_cpu_to_be);
-
-void range_be_to_cpu(struct lu_range *dst, const struct lu_range *src)
-{
- /* check that all fields are converted */
- CLASSERT(sizeof(*src) ==
- sizeof(src->lr_start) +
- sizeof(src->lr_end) +
- sizeof(src->lr_padding));
- dst->lr_start = be64_to_cpu(src->lr_start);
- dst->lr_end = be64_to_cpu(src->lr_end);
-}
-EXPORT_SYMBOL(range_be_to_cpu);
-
-#endif
+/** Special fid for "fid" special object in .lustre */
+const struct lu_fid LU_OBF_FID = { .f_seq = LU_DOT_LUSTRE_SEQ,
+ .f_oid = 0x0000000000000002,
+ .f_ver = 0x0000000000000000 };
+EXPORT_SYMBOL(LU_OBF_FID);