Whamcloud - gitweb
LU-17243 build: compatibility updates for kernel 6.6
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_internal.h
index 6823a76..f804243 100644 (file)
@@ -617,7 +617,7 @@ struct osd_iobuf {
 #define osd_i_blocks(inode, size) ((size) >> (inode)->i_blkbits)
 
 
-#ifdef HAVE_INODE_TIMESPEC64
+#if defined HAVE_INODE_TIMESPEC64 || defined HAVE_INODE_GET_MTIME_SEC
 # define osd_timespec                  timespec64
 #else
 # define osd_timespec                  timespec