Whamcloud - gitweb
LU-6030 ldiskfs: further cleanup patches of ldiskfs
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / rhel7 / ext4-nocmtime.patch
index 403627a..2212a34 100644 (file)
@@ -11,7 +11,7 @@ Index: linux-3.10.0-123.13.2.el7.x86_64/fs/ext4/ext4.h
  static inline struct timespec ext4_current_time(struct inode *inode)
  {
 +      if (IS_NOCMTIME(inode))
-+              return inode->i_ctime;
++              return inode->i_ctime;
        return (inode->i_sb->s_time_gran < NSEC_PER_SEC) ?
                current_fs_time(inode->i_sb) : CURRENT_TIME_SEC;
  }