+#define id_le_to_cpu(id) \
+ do { \
+ id_fid((id)) = le64_to_cpu(id_fid((id))); \
+ id_group((id)) = le64_to_cpu(id_group((id))); \
+ id_version((id)) = le32_to_cpu(id_version((id))); \
+ id_ino((id)) = le64_to_cpu(id_ino((id))); \
+ id_gen((id)) = le32_to_cpu(id_gen((id))); \
+ id_type((id)) = le32_to_cpu(id_type((id))); \
+ } while (0)
+
+#define id_cpu_to_le(id) \
+ do { \
+ id_fid((id)) = cpu_to_le64(id_fid((id))); \
+ id_group((id)) = cpu_to_le64(id_group((id))); \
+ id_version((id)) = cpu_to_le32(id_version((id))); \
+ id_ino((id)) = cpu_to_le64(id_ino((id))); \
+ id_gen((id)) = cpu_to_le32(id_gen((id))); \
+ id_type((id)) = cpu_to_le32(id_type((id))); \
+ } while (0)
+