mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-13 19:50:25 +03:00
Define timestruc_t for Lustre compatibility
Lustre 2.8 (and possibly other versions) are still using timestruc_t, which was removed in spl-0.7.10 in favor of inode_timespec_t. Add in a backwards compatibility #define for timestruc_t so that Lustre builds. Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes #8014
This commit is contained in:
parent
5d43cc9a59
commit
3c94dd7b7b
@ -66,6 +66,9 @@ typedef struct timespec64 inode_timespec_t;
|
||||
typedef struct timespec inode_timespec_t;
|
||||
#endif
|
||||
|
||||
/* Include for Lustre compatibility */
|
||||
#define timestruc_t inode_timespec_t
|
||||
|
||||
static inline void
|
||||
gethrestime(inode_timespec_t *ts)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user