1 Index: linux-4.18.0-32.el8.x86_64/fs/ext4/ext4.h
2 ===================================================================
3 --- linux-4.18.0-32.el8.x86_64.orig/fs/ext4/ext4.h
4 +++ linux-4.18.0-32.el8.x86_64/fs/ext4/ext4.h
5 @@ -655,6 +655,13 @@ enum {
6 #define EXT4_GOING_FLAGS_LOGFLUSH 0x1 /* flush log but not data */
7 #define EXT4_GOING_FLAGS_NOLOGFLUSH 0x2 /* don't flush log nor data */
9 +static inline struct timespec64 ext4_current_time(struct inode *inode)
11 + if (IS_NOCMTIME(inode))
12 + return inode->i_ctime;
13 + return current_time(inode);
15 +#define current_time(a) ext4_current_time(a)
17 #if defined(__KERNEL__) && defined(CONFIG_COMPAT)