]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix up 4.14 btrfs patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Jun 2019 08:51:04 +0000 (10:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Jun 2019 08:51:04 +0000 (10:51 +0200)
queue-4.14/btrfs-fix-wrong-ctime-and-mtime-of-a-directory-after-log-replay.patch

index 199325991a844e2dd125eeeac5a3c2ab7d3e05e3..7344f12df5d111b7e00a1353df318d600009968f 100644 (file)
@@ -70,7 +70,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 +       * values (the ones it had when the fsync was done).
 +       */
 +      if (!test_bit(BTRFS_FS_LOG_RECOVERING, &root->fs_info->flags)) {
-+              struct timespec64 now = current_time(&parent_inode->vfs_inode);
++              struct timespec now = current_time(&parent_inode->vfs_inode);
 +
 +              parent_inode->vfs_inode.i_mtime = now;
 +              parent_inode->vfs_inode.i_ctime = now;