Whamcloud - gitweb
LU-16364 llite: Move d_u.d_alias compat define
[fs/lustre-release.git] / lustre / llite / llite_internal.h
index da36467..6a1161f 100644 (file)
 #define LOOKUP_CONTINUE LOOKUP_PARENT
 #endif
 
+#ifdef HAVE_DENTRY_D_U_D_ALIAS
+#define d_alias                        d_u.d_alias
+#endif
+
 /** Only used on client-side for indicating the tail of dir hash/offset. */
 #define LL_DIR_END_OFF          0x7fffffffffffffffULL
 #define LL_DIR_END_OFF_32BIT    0x7fffffffUL